Class: Zype::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/zype/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_keyObject

Returns the value of attribute api_key.



3
4
5
# File 'lib/zype/configuration.rb', line 3

def api_key
  @api_key
end

#app_keyObject

Returns the value of attribute app_key.



3
4
5
# File 'lib/zype/configuration.rb', line 3

def app_key
  @app_key
end

#hostObject

Returns the value of attribute host.



3
4
5
# File 'lib/zype/configuration.rb', line 3

def host
  @host
end

#login_hostObject

Returns the value of attribute login_host.



3
4
5
# File 'lib/zype/configuration.rb', line 3

def 
  @login_host
end

#player_hostObject

Returns the value of attribute player_host.



3
4
5
# File 'lib/zype/configuration.rb', line 3

def player_host
  @player_host
end