Class: Payhere::Config
- Inherits:
-
Object
- Object
- Payhere::Config
- Defined in:
- lib/payhere-sdk/config.rb
Instance Attribute Summary collapse
-
#app_id ⇒ Object
Returns the value of attribute app_id.
-
#environment ⇒ Object
Returns the value of attribute environment.
-
#password ⇒ Object
Returns the value of attribute password.
-
#username ⇒ Object
Returns the value of attribute username.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
11 12 13 14 15 16 17 |
# File 'lib/payhere-sdk/config.rb', line 11 def initialize @environment = nil @version = nil @app_id = nil @username = nil @password = nil end |
Instance Attribute Details
#app_id ⇒ Object
Returns the value of attribute app_id.
8 9 10 |
# File 'lib/payhere-sdk/config.rb', line 8 def app_id @app_id end |
#environment ⇒ Object
Returns the value of attribute environment.
8 9 10 |
# File 'lib/payhere-sdk/config.rb', line 8 def environment @environment end |
#password ⇒ Object
Returns the value of attribute password.
8 9 10 |
# File 'lib/payhere-sdk/config.rb', line 8 def password @password end |
#username ⇒ Object
Returns the value of attribute username.
8 9 10 |
# File 'lib/payhere-sdk/config.rb', line 8 def username @username end |
#version ⇒ Object
Returns the value of attribute version.
8 9 10 |
# File 'lib/payhere-sdk/config.rb', line 8 def version @version end |