Class: Bigcartel::Account

Inherits:
BigcartelObject show all
Defined in:
lib/bigcartel/account.rb

Class Method Summary collapse

Methods inherited from BigcartelObject

all, find

Class Method Details

.retrieveObject



4
5
6
7
# File 'lib/bigcartel/account.rb', line 4

def retrieve
  response = Bigcartel::API.get("/account")
  self.new(response)
end

.root_pathObject



9
10
11
# File 'lib/bigcartel/account.rb', line 9

def root_path
  '/account'
end