module Mandriller::SettingsMethods

Public Class Methods

included(base) click to toggle source
# File lib/mandriller/settings_methods.rb, line 3
def self.included(base)
  base.extend(ClassMethods)
end

Private Instance Methods

get_mandrill_setting(key) click to toggle source
# File lib/mandriller/settings_methods.rb, line 61
def get_mandrill_setting(key)
  __send__ "get_mandrill_setting_#{key}"
end
is_mandrill_setting_defined?(key) click to toggle source
# File lib/mandriller/settings_methods.rb, line 56
def is_mandrill_setting_defined?(key)
  !__send__("mandrill_#{key}").nil?
end