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
-
.api_key ⇒ Object
Returns the value of attribute api_key.
-
.client ⇒ Object
Returns the value of attribute client.
Class Method Summary collapse
Class Attribute Details
.api_key ⇒ Object
Returns the value of attribute api_key.
9 10 11 |
# File 'lib/cloth.rb', line 9 def api_key @api_key end |
.client ⇒ Object
Returns the value of attribute client.
9 10 11 |
# File 'lib/cloth.rb', line 9 def client @client end |
Class Method Details
.api_url ⇒ Object
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 |