Class: GlimrApiClient::Base
- Inherits:
-
Object
- Object
- GlimrApiClient::Base
- Includes:
- Api
- Defined in:
- lib/glimr_api_client/base.rb
Direct Known Subclasses
FindCase, HwfRequested, PayByAccount, RegisterNewCase, Update
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
Attributes included from Api
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ Object
- #check_request! ⇒ Object
-
#initialize(*args) ⇒ Base
constructor
A new instance of Base.
Methods included from Api
Constructor Details
#initialize(*args) ⇒ Base
Returns a new instance of Base.
10 11 12 |
# File 'lib/glimr_api_client/base.rb', line 10 def initialize(*args) @args = args end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
4 5 6 |
# File 'lib/glimr_api_client/base.rb', line 4 def args @args end |
Class Method Details
.call(*args) ⇒ Object
6 7 8 |
# File 'lib/glimr_api_client/base.rb', line 6 def self.call(*args) new(*args).call end |
Instance Method Details
#call ⇒ Object
14 15 16 17 18 |
# File 'lib/glimr_api_client/base.rb', line 14 def call check_request! post self end |
#check_request! ⇒ Object
20 21 |
# File 'lib/glimr_api_client/base.rb', line 20 def check_request! end |