Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix a typo #23

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ require "mailerlite-ruby"
# Intialize the class
groups = MailerLite::Groups.new

groups.list(limit:10, page:1, filter:{'name': 'My'}, sort:'name')
groups.get(limit:10, page:1, filter:{'name': 'My'}, sort:'name')
```

### Create a group
Expand Down Expand Up @@ -483,7 +483,7 @@ require "mailerlite-ruby"
campaigns = MailerLite::Campaigns.new

campaigns.update(
campaign_id: 1233455,
campaign_id: 1233455,
name: "New Campaign Name",
language_id: 2,
emails: [{
Expand Down Expand Up @@ -703,7 +703,7 @@ webhooks.create(
'subscriber.created',
'subscriber.updated',
'subscriber.unsubscribed'
],
],
url:'https://my-url.com',
name: 'Webhook name'
)
Expand All @@ -720,12 +720,12 @@ require "mailerlite-ruby"
webhooks = MailerLite::Webhooks.new

webhooks.update(
webhook_id: 123456,
webhook_id: 123456,
events:[
'subscriber.created',
'subscriber.updated',
'subscriber.unsubscribed'
],
],
url:'https://my-url.com',
name: 'Webhook name',
enabled: false
Expand Down Expand Up @@ -784,7 +784,7 @@ campaigns.languages()
# Testing

```bash
bundle i
bundle i
bundle exec rspec spec/*rspec.rb
```

Expand All @@ -794,7 +794,7 @@ The fixtures for the test have been recorded using vcr and are available in the
# Generate Docs

```bash
bundle i
bundle i
bundle exec yardoc 'lib/**/*.rb'
```

Expand Down