Class: Payhere::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/payhere-sdk/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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_idObject

Returns the value of attribute app_id.



8
9
10
# File 'lib/payhere-sdk/config.rb', line 8

def app_id
  @app_id
end

#environmentObject

Returns the value of attribute environment.



8
9
10
# File 'lib/payhere-sdk/config.rb', line 8

def environment
  @environment
end

#passwordObject

Returns the value of attribute password.



8
9
10
# File 'lib/payhere-sdk/config.rb', line 8

def password
  @password
end

#usernameObject

Returns the value of attribute username.



8
9
10
# File 'lib/payhere-sdk/config.rb', line 8

def username
  @username
end

#versionObject

Returns the value of attribute version.



8
9
10
# File 'lib/payhere-sdk/config.rb', line 8

def version
  @version
end