class Paymill::Fee
Attributes
amount[RW]
application[RW]
billed_at[RW]
currency[RW]
payment[RW]
type[RW]
Public Class Methods
new( json )
click to toggle source
# File lib/paymill/models/fee.rb, line 6 def initialize( json ) json.each_pair do |key, value| instance_variable_set( "@#{key}", ( Integer( value ) rescue value ) ) end @billed_at &&= Time.at( @billed_at ) end