Module: KeywordsEverywhere
- Defined in:
- lib/keywords_everywhere.rb,
lib/keywords_everywhere/item.rb,
lib/keywords_everywhere/list.rb,
lib/keywords_everywhere/client.rb,
lib/keywords_everywhere/version.rb
Defined Under Namespace
Classes: Client, Error, Item, List
Constant Summary collapse
- DEFAULT_MARKET =
:us- DEFAULT_SOURCE =
:gkp- DEFAULT_CURRENCY =
:usd- VERSION =
"0.1.0".freeze
Class Attribute Summary collapse
-
.currency ⇒ Object
Returns the value of attribute currency.
-
.market ⇒ Object
Returns the value of attribute market.
-
.secret_key ⇒ Object
Returns the value of attribute secret_key.
-
.source ⇒ Object
Returns the value of attribute source.
Class Method Summary collapse
- .configure {|_self| ... } ⇒ Object (also: config)
Class Attribute Details
.currency ⇒ Object
Returns the value of attribute currency.
18 19 20 |
# File 'lib/keywords_everywhere.rb', line 18 def currency @currency end |
.market ⇒ Object
Returns the value of attribute market.
18 19 20 |
# File 'lib/keywords_everywhere.rb', line 18 def market @market end |
.secret_key ⇒ Object
Returns the value of attribute secret_key.
18 19 20 |
# File 'lib/keywords_everywhere.rb', line 18 def secret_key @secret_key end |
.source ⇒ Object
Returns the value of attribute source.
18 19 20 |
# File 'lib/keywords_everywhere.rb', line 18 def source @source end |
Class Method Details
.configure {|_self| ... } ⇒ Object Also known as: config
20 21 22 23 |
# File 'lib/keywords_everywhere.rb', line 20 def configure yield self true end |