Class: Vero::Api::Base
Instance Attribute Summary collapse
-
#context ⇒ Object
Returns the value of attribute context.
Instance Method Summary collapse
- #config ⇒ Object
-
#initialize(context) ⇒ Base
constructor
A new instance of Base.
- #run_api(api_klass, options) ⇒ Object
Constructor Details
#initialize(context) ⇒ Base
Returns a new instance of Base.
8 9 10 |
# File 'lib/vero/api.rb', line 8 def initialize(context) self.context = context end |
Instance Attribute Details
#context ⇒ Object
Returns the value of attribute context.
6 7 8 |
# File 'lib/vero/api.rb', line 6 def context @context end |
Instance Method Details
#config ⇒ Object
12 13 14 |
# File 'lib/vero/api.rb', line 12 def config context.config end |