class Dpd::Shipping::DailyTransactionRequest
Constants
- REQUEST_TYPE
Public Class Methods
new(attributes = {})
click to toggle source
Calls superclass method
# File lib/dpd_shipping/daily_transaction_request.rb, line 7 def initialize(attributes = {}) super(attributes) @date = attributes[:date] @type = attributes[:type] end
Public Instance Methods
body(xml)
click to toggle source
# File lib/dpd_shipping/daily_transaction_request.rb, line 13 def body(xml) xml.tns :TransactionListDate, @date.strftime("%d.%m.%Y") xml.tns :TransactionListType, @type end