Sha256: 5d1a1aa05145c4260f2b80e40ebf9080f9c691308c3e0ea3aa3b8122bbf1cb77

Contents?: true

Size: 610 Bytes

Versions: 15

Compression:

Stored size: 610 Bytes

Contents

module MyJohnDeere
  class ContributionProduct < SingleResource
    self.base_jd_resource = "contributionProducts"
    self.list_resource_path = self.base_jd_resource
    self.retrieve_resource_path = self.base_jd_resource
    attributes_to_pull_from_json(:id, :marketPlaceName, :marketPlaceDescription, 
      :marketPlaceLogo, :defaultLocale, :currentStatus, :authenticationCallback,
      :activationCallback, :previewImages, :supportedLocales, :supportedRegions,
      :supportedOperationCenters)

    def initialize(json_object, access_token = nil)
      super(json_object, access_token)
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
myjohndeere-0.1.11 lib/myjohndeere/contribution_product.rb
myjohndeere-0.1.10 lib/myjohndeere/contribution_product.rb
myjohndeere-0.1.9 lib/myjohndeere/contribution_product.rb
myjohndeere-0.1.8 lib/myjohndeere/contribution_product.rb
myjohndeere-0.1.7 lib/myjohndeere/contribution_product.rb
myjohndeere-0.1.6 lib/myjohndeere/contribution_product.rb
myjohndeere-0.1.5 lib/myjohndeere/contribution_product.rb
myjohndeere-0.1.4 lib/myjohndeere/contribution_product.rb
myjohndeere-0.1.3 lib/myjohndeere/contribution_product.rb
myjohndeere-0.1.2 lib/myjohndeere/contribution_product.rb
myjohndeere-0.1.1 lib/myjohndeere/contribution_product.rb
myjohndeere-0.1.0 lib/myjohndeere/contribution_product.rb
myjohndeere-0.0.11 lib/myjohndeere/contribution_product.rb
myjohndeere-0.0.10 lib/myjohndeere/contribution_product.rb
myjohndeere-0.0.9 lib/myjohndeere/contribution_product.rb