Class: KashflowApi::Api
- Inherits:
-
Object
- Object
- KashflowApi::Api
- Defined in:
- lib/kashflow_api/api.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Api
constructor
A new instance of Api.
Constructor Details
#initialize ⇒ Api
Returns a new instance of Api.
3 4 5 6 7 8 9 |
# File 'lib/kashflow_api/api.rb', line 3 def initialize unless KashflowApi.config.username && KashflowApi.config.password raise "Username and Password required" end init_class end |
Class Method Details
.method_list ⇒ Object
11 12 13 |
# File 'lib/kashflow_api/api.rb', line 11 def self.method_list @methods ||= generate_method_list end |