Sha256: c770c72843c65b47c32562ef5659f570b713d96f1ebd8539b0762de5bf805d09
Contents?: true
Size: 561 Bytes
Versions: 4
Compression:
Stored size: 561 Bytes
Contents
require 'mailerlite/core_ext/string' require 'mailerlite/version' require 'mailerlite/error' require 'mailerlite/client' # Main module for gem. module MailerLite class << self def client @client ||= MailerLite::Client.new end private def method_missing(method_name, *args, &block) return super unless client.respond_to?(method_name) client.send(method_name, *args, &block) end def respond_to_missing?(method_name, include_private = false) client.respond_to?(method_name, include_private) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
mailerlite-1.1.0 | lib/mailerlite.rb |
mailerlite-1.0.2 | lib/mailerlite.rb |
mailerlite-1.0.1 | lib/mailerlite.rb |
mailerlite-1.0.0 | lib/mailerlite.rb |