class Epages::PaymentData
Constants
- KEYS
Public Class Methods
new(data)
click to toggle source
# File lib/epages/payment_data.rb, line 11 def initialize(data) parse_attribute_as(:payment_method, data.delete(:paymentMethod), Epages::PaymentMethodInfo) parse_attribute_as(:price, data.delete(:price), Epages::Price) end