Skip to content

Commit

Permalink
v0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
deanpcmad committed Jan 25, 2023
1 parent 379e174 commit 8cbdf46
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,19 @@ Firstly you'll need to create an API Access Token on your [settings page](https:
@client.subscriptions.change_plan id: 123, plan_id: 111, variant_id: 111
```

### Subscription Invoices

```ruby
# Retrieves a list of Subscription Invoices
@client.subscription_invoices.list

# Retrieves a list of Subscription Invoices for a specified Store
@client.subscription_invoices.list store_id: 123

# Retrieves a Subscription Invoice
@client.subscription_invoices.get id: "123"
```

### Discounts

```ruby
Expand Down
2 changes: 1 addition & 1 deletion lib/lemon_squeezy/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module LemonSqueezy
VERSION = "0.2.1"
VERSION = "0.2.2"
end

0 comments on commit 8cbdf46

Please sign in to comment.