Class: Billimatic::Request
- Inherits:
-
Object
- Object
- Billimatic::Request
- Defined in:
- lib/billimatic/request.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
Instance Method Summary collapse
-
#initialize(args) ⇒ Request
constructor
A new instance of Request.
- #run ⇒ Object
Constructor Details
#initialize(args) ⇒ Request
Returns a new instance of Request.
5 6 7 |
# File 'lib/billimatic/request.rb', line 5 def initialize(args) @args = args end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
3 4 5 |
# File 'lib/billimatic/request.rb', line 3 def args @args end |
Instance Method Details
#run ⇒ Object
9 10 11 12 |
# File 'lib/billimatic/request.rb', line 9 def run request.run request.response end |