Class: Paymo::Base
- Inherits:
-
Object
- Object
- Paymo::Base
- Defined in:
- lib/paymo.rb
Instance Method Summary collapse
- #auth ⇒ Object
-
#initialize(options = {}) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(options = {}) ⇒ Base
Returns a new instance of Base.
34 35 36 37 38 39 |
# File 'lib/paymo.rb', line 34 def initialize( = {}) @username = [:username] @password = [:password] @format = [:format] || 'json' self.auth end |