Class: Qiwi::Request::CreateBill
Instance Method Summary collapse
-
#initialize(client, params) ⇒ CreateBill
constructor
A new instance of CreateBill.
Methods inherited from Base
attributes, #body, inherited, #method, #result_from_xml, #soap_body, #with_envelope
Constructor Details
#initialize(client, params) ⇒ CreateBill
Returns a new instance of CreateBill.
89 90 91 92 93 94 |
# File 'lib/qiwi/request.rb', line 89 def initialize(client, params) super @alarm ||= 0 @create = true if @create.nil? @lifetime = @lifetime.strftime('%d.%m.%Y %H:%M:%S') if @lifetime.respond_to?(:strftime) end |