Sha256: c1f98da0626b58cb91d5fa488499bb1a147ff94223d355aa53706103a6bdf2e8
Contents?: true
Size: 334 Bytes
Versions: 21
Compression:
Stored size: 334 Bytes
Contents
module Etsy class Section include Etsy::Model attributes :title, :rank, :user_id, :active_listing_count attribute :id, :from => :shop_section_id def self.find_by_shop(shop) get("/shops/#{shop.id}/sections") end def self.find(shop, id) get("/shops/#{shop.id}/sections/#{id}") end end end
Version data entries
21 entries across 21 versions & 3 rubygems