Class: VersacommerceAPI::Account

Inherits:
Base
  • Object
show all
Defined in:
lib/versacommerce_api/resources/account.rb

Overview

Account object. Use Account.current to receive the account details.

Class Method Summary collapse

Methods inherited from Base

activate_session, all, clear_session, headers, root!

Methods included from Countable

#count

Class Method Details

.currentObject



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

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