Module: EzpayInvoice::Api::Properties::General
- Included in:
- EzpayInvoice::Api::Payloads::Base
- Defined in:
- lib/ezpay-invoice/api/properties/general.rb
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/ezpay-invoice/api/properties/general.rb', line 5 def self.included(base) base.class_eval do property :RespondType, from: :respond_type, default: 'JSON' property :TimeStamp, from: :timestamp, default: Time.now.to_i end end |