Sha256: 15524d98c6d751e501bea25e117f562d5b0d4f7ab52f11524249e1ebc6720287

Contents?: true

Size: 370 Bytes

Versions: 8

Compression:

Stored size: 370 Bytes

Contents

require 'hashie'

module DataComApi
  class Company < Hashie::Trash
    property :id,              from: :companyId
    property :zip
    property :address
    property :name
    property :active_contacts, from: :activeContacts
    property :state
    property :graveyarded
    property :city
    property :country

    alias_method :graveyarded?, :graveyarded
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
data-com-api-0.2.1 lib/data-com-api/company.rb
data-com-api-0.2.0 lib/data-com-api/company.rb
data-com-api-0.1.5 lib/data-com-api/company.rb
data-com-api-0.1.4 lib/data-com-api/company.rb
data-com-api-0.1.3 lib/data-com-api/company.rb
data-com-api-0.1.2 lib/data-com-api/company.rb
data-com-api-0.1.1 lib/data-com-api/company.rb
data-com-api-0.1.0 lib/data-com-api/company.rb