Class: FormhubRuby::Configuration
- Inherits:
-
Object
- Object
- FormhubRuby::Configuration
- Defined in:
- lib/formhub_ruby/configuration.rb
Instance Attribute Summary collapse
-
#password ⇒ Object
Returns the value of attribute password.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize(args = {}) ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 |
# File 'lib/formhub_ruby/configuration.rb', line 5 def initialize(args={}) @username = args[:username] @password = args[:password] end |
Instance Attribute Details
#password ⇒ Object
Returns the value of attribute password.
3 4 5 |
# File 'lib/formhub_ruby/configuration.rb', line 3 def password @password end |
#username ⇒ Object
Returns the value of attribute username.
3 4 5 |
# File 'lib/formhub_ruby/configuration.rb', line 3 def username @username end |