Module: MailerLite

Defined in:
lib/mailerlite/client.rb,
lib/mailerlite/version.rb,
lib/mailerlite/batch/batch.rb,
lib/mailerlite/forms/forms.rb,
lib/mailerlite/fields/fields.rb,
lib/mailerlite/groups/groups.rb,
lib/mailerlite/segments/segments.rb,
lib/mailerlite/webhooks/webhooks.rb,
lib/mailerlite/campaigns/campaigns.rb,
lib/mailerlite/timezones/timezones.rb,
lib/mailerlite/automations/automations.rb,
lib/mailerlite/subscribers/subscribers.rb

Overview

mailerlite-ruby is a gem that integrates all endpoints from MailerLite API

Defined Under Namespace

Classes: Automations, Batch, Campaigns, Client, Fields, Forms, Groups, Segments, Subscribers, Timezones, Webhooks

Constant Summary collapse

VERSION =
'2.0.0'

Class Attribute Summary collapse

Instance Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.use_dotenvObject

Returns the value of attribute use_dotenv.



12
13
14
# File 'lib/mailerlite/client.rb', line 12

def use_dotenv
  @use_dotenv
end

Instance Attribute Details

#api_tokenObject (readonly)

Returns the value of attribute api_token.



9
10
11
# File 'lib/mailerlite/client.rb', line 9

def api_token
  @api_token
end

Class Method Details

.configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (MailerLite)

    the object that the method was called on



14
15
16
# File 'lib/mailerlite/client.rb', line 14

def configure
  yield self
end