Module: Cloth

Defined in:
lib/cloth.rb,
lib/cloth/item.rb,
lib/cloth/user.rb,
lib/cloth/client.rb,
lib/cloth/account.rb,
lib/cloth/version.rb

Defined Under Namespace

Classes: Account, Client, Item, User

Constant Summary collapse

VERSION =
"0.0.3".freeze

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.api_keyObject

Returns the value of attribute api_key.



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

def api_key
  @api_key
end

.clientObject

Returns the value of attribute client.



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

def client
  @client
end

Class Method Details

.api_urlObject



15
16
17
# File 'lib/cloth.rb', line 15

def api_url
  @api_url ||= "https://api.cloth.network"
end

.api_url=(url) ⇒ Object



19
20
21
# File 'lib/cloth.rb', line 19

def api_url=(url)
  @api_url = url
end