Class: Ebanx::Command::Print
- Inherits:
-
Ebanx::Command
- Object
- Ebanx::Command
- Ebanx::Command::Print
- Defined in:
- lib/ebanx/command/print.rb
Instance Method Summary collapse
-
#initialize(params) ⇒ Print
constructor
A new instance of Print.
- #validate ⇒ Object
Constructor Details
#initialize(params) ⇒ Print
Returns a new instance of Print.
4 5 6 7 8 9 |
# File 'lib/ebanx/command/print.rb', line 4 def initialize(params) @params = params @request_method = :get @request_action = 'print' @response_type = 'text/html' end |
Instance Method Details
#validate ⇒ Object
11 12 13 |
# File 'lib/ebanx/command/print.rb', line 11 def validate validate_presence :hash end |