Class: Rubykassa::Configuration
- Inherits:
-
Object
- Object
- Rubykassa::Configuration
- Defined in:
- lib/rubykassa/configuration.rb
Instance Attribute Summary collapse
-
#first_password ⇒ Object
Returns the value of attribute first_password.
-
#http_method ⇒ Object
Returns the value of attribute http_method.
-
#login ⇒ Object
Returns the value of attribute login.
-
#mode ⇒ Object
Returns the value of attribute mode.
-
#second_password ⇒ Object
Returns the value of attribute second_password.
-
#xml_http_method ⇒ Object
Returns the value of attribute xml_http_method.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
6 7 8 9 10 11 12 13 |
# File 'lib/rubykassa/configuration.rb', line 6 def initialize self.login = "your_login" self.first_password = "first_password" self.second_password = "second_password" self.mode = :test self.http_method = :get self.xml_http_method = :get end |
Instance Attribute Details
#first_password ⇒ Object
Returns the value of attribute first_password.
4 5 6 |
# File 'lib/rubykassa/configuration.rb', line 4 def first_password @first_password end |
#http_method ⇒ Object
Returns the value of attribute http_method.
4 5 6 |
# File 'lib/rubykassa/configuration.rb', line 4 def http_method @http_method end |
#login ⇒ Object
Returns the value of attribute login.
4 5 6 |
# File 'lib/rubykassa/configuration.rb', line 4 def login @login end |
#mode ⇒ Object
Returns the value of attribute mode.
4 5 6 |
# File 'lib/rubykassa/configuration.rb', line 4 def mode @mode end |
#second_password ⇒ Object
Returns the value of attribute second_password.
4 5 6 |
# File 'lib/rubykassa/configuration.rb', line 4 def second_password @second_password end |
#xml_http_method ⇒ Object
Returns the value of attribute xml_http_method.
4 5 6 |
# File 'lib/rubykassa/configuration.rb', line 4 def xml_http_method @xml_http_method end |