Class: MxitApi::Config
- Inherits:
-
Object
- Object
- MxitApi::Config
- Defined in:
- lib/mxit_api/config.rb
Instance Attribute Summary collapse
-
#mxit_api_client_id ⇒ Object
Returns the value of attribute mxit_api_client_id.
-
#mxit_api_client_secret ⇒ Object
Returns the value of attribute mxit_api_client_secret.
-
#mxit_app_name ⇒ Object
Returns the value of attribute mxit_app_name.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
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_id ⇒ Object
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_secret ⇒ Object
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_name ⇒ Object
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 |