Class: Etsy::Section
Class Method Summary collapse
Methods included from Model
included, #initialize, #result, #secret, #token
Class Method Details
.find(shop, id) ⇒ Object
12 13 14 |
# File 'lib/etsy/section.rb', line 12 def self.find(shop, id) get("/shops/#{shop.id}/sections/#{id}") end |
.find_by_shop(shop) ⇒ Object
8 9 10 |
# File 'lib/etsy/section.rb', line 8 def self.find_by_shop(shop) get("/shops/#{shop.id}/sections") end |