Class: EveAPI::User
- Includes:
- Common
- Defined in:
- lib/eve-api/eve-api.rb
Instance Method Summary collapse
- #characters ⇒ Object
-
#initialize(*args) ⇒ User
constructor
A new instance of User.
Methods included from Common
Methods inherited from Base
Constructor Details
#initialize(*args) ⇒ User
Returns a new instance of User.
58 59 60 61 62 |
# File 'lib/eve-api/eve-api.rb', line 58 def initialize(*args) super((args)) raise(Exceptions::InputException, "id required") unless @options[:id] raise(Exceptions::InputException, "api_key required") unless @options[:api_key] end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class EveAPI::Base