class MailchimpAPI::AccountInformation

Public Class Methods

find(*arguments) click to toggle source
# File lib/mailchimp_api/resources/account_information.rb, line 9
def find(*arguments)
  scope   = arguments.slice!(0)
  options = arguments.slice!(0) || {}

  prefix_options, query_options = split_options options[:params]

  path = element_path scope, prefix_options, query_options

  instantiate_record format.decode(connection.get(path, headers).body), prefix_options
end