Class: VersacommerceAPI::Shop

Inherits:
Base show all
Defined in:
lib/versacommerce_api/resources/shop.rb

Overview

Shop object. Use Shop.current to receive the shop.

Class Method Summary collapse

Methods inherited from Base

activate_session, all, clear_session, headers, root!

Methods included from Countable

#count

Methods inherited from ActiveResource::Base

build, delete, headers

Class Method Details

.currentObject



6
7
8
# File 'lib/versacommerce_api/resources/shop.rb', line 6

def self.current
  find(:one, :from => "/api/shop.xml")
end