Class: Zype::Configuration
- Inherits:
-
Object
- Object
- Zype::Configuration
- Defined in:
- lib/zype/configuration.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#app_key ⇒ Object
Returns the value of attribute app_key.
-
#host ⇒ Object
Returns the value of attribute host.
-
#login_host ⇒ Object
Returns the value of attribute login_host.
-
#player_host ⇒ Object
Returns the value of attribute player_host.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 9 10 11 |
# File 'lib/zype/configuration.rb', line 5 def initialize @api_key = nil @app_key = nil @host = 'https://api.zype.com' @player_host = 'https://player.zype.com' @login_host = 'https://login.zype.com' end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
3 4 5 |
# File 'lib/zype/configuration.rb', line 3 def api_key @api_key end |
#app_key ⇒ Object
Returns the value of attribute app_key.
3 4 5 |
# File 'lib/zype/configuration.rb', line 3 def app_key @app_key end |
#host ⇒ Object
Returns the value of attribute host.
3 4 5 |
# File 'lib/zype/configuration.rb', line 3 def host @host end |
#login_host ⇒ Object
Returns the value of attribute login_host.
3 4 5 |
# File 'lib/zype/configuration.rb', line 3 def login_host @login_host end |
#player_host ⇒ Object
Returns the value of attribute player_host.
3 4 5 |
# File 'lib/zype/configuration.rb', line 3 def player_host @player_host end |