Class: MxitApi::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/mxit_api/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



7
8
9
10
11
# File 'lib/mxit_api/config.rb', line 7

def initialize
  @mxit_app_name = "your_app_name"
  @mxit_api_client_id = "your_client_id"
  @mxit_api_client_secret = "your_client_secret"
end

Instance Attribute Details

#mxit_api_client_idObject

Returns the value of attribute mxit_api_client_id.



4
5
6
# File 'lib/mxit_api/config.rb', line 4

def mxit_api_client_id
  @mxit_api_client_id
end

#mxit_api_client_secretObject

Returns the value of attribute mxit_api_client_secret.



5
6
7
# File 'lib/mxit_api/config.rb', line 5

def mxit_api_client_secret
  @mxit_api_client_secret
end

#mxit_app_nameObject

Returns the value of attribute mxit_app_name.



3
4
5
# File 'lib/mxit_api/config.rb', line 3

def mxit_app_name
  @mxit_app_name
end