module MailerLite

Main module for gem.

Constants

VERSION

@return [String] Version number.

Public Class Methods

client() click to toggle source
# File lib/mailerlite.rb, line 11
def client
  @client ||= MailerLite::Client.new
end

Private Class Methods

method_missing(method_name, *args, &block) click to toggle source
Calls superclass method
# File lib/mailerlite.rb, line 17
def method_missing(method_name, *args, &block)
  return super unless client.respond_to?(method_name)

  client.send(method_name, *args, &block)
end
respond_to_missing?(method_name, include_private = false) click to toggle source
# File lib/mailerlite.rb, line 23
def respond_to_missing?(method_name, include_private = false)
  client.respond_to?(method_name, include_private)
end