Class: Cryptorank::Base
- Inherits:
-
Object
- Object
- Cryptorank::Base
- Defined in:
- lib/cryptorank/base.rb
Class Attribute Summary collapse
-
.api_key ⇒ Object
Returns the value of attribute api_key.
-
.app_info ⇒ Object
Returns the value of attribute app_info.
-
.path_prefix ⇒ Object
Returns the value of attribute path_prefix.
Class Method Summary collapse
Class Attribute Details
.api_key ⇒ Object
Returns the value of attribute api_key.
11 12 13 |
# File 'lib/cryptorank/base.rb', line 11 def api_key @api_key end |
.app_info ⇒ Object
Returns the value of attribute app_info.
11 12 13 |
# File 'lib/cryptorank/base.rb', line 11 def app_info @app_info end |
.path_prefix ⇒ Object
Returns the value of attribute path_prefix.
11 12 13 |
# File 'lib/cryptorank/base.rb', line 11 def path_prefix @path_prefix end |
Class Method Details
.split_words(name) ⇒ Object
13 14 15 |
# File 'lib/cryptorank/base.rb', line 13 def split_words(name) name.split(/\W+/).join('-') end |