Sha256: cde5e160339d4808fedbfb1f811d6f43e21a2d7715ed84df154c453098648003

Contents?: true

Size: 482 Bytes

Versions: 1

Compression:

Stored size: 482 Bytes

Contents

module AmoCRM::Resources
  mattr_accessor :resources

  extend ActiveSupport::Autoload

  def self.register_resource resource_class
    self.resources ||= []
    self.resources << resource_class
  end

  require_relative 'resources/base'
  require_relative 'resources/indexed'
  require_relative 'resources/companies'
  require_relative 'resources/leads'
  require_relative 'resources/contacts'
  require_relative 'resources/account'
  require_relative 'resources/custom_field'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
amo_crm-0.2.2 lib/amo_crm/resources.rb