Sha256: 416f4d6c8312a80fda698d5615fae0ed328e8d607b3c49ae46bf4138d788b32d
Contents?: true
Size: 582 Bytes
Versions: 11
Compression:
Stored size: 582 Bytes
Contents
# frozen_string_literal: true require 'mailerlite/version' require 'mailerlite/utils' 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
11 entries across 11 versions & 1 rubygems