class Opayo::Struct::Base
Public Class Methods
new(attributes = {})
click to toggle source
# File lib/opayo/struct/base.rb, line 4 def initialize(attributes = {}) attributes.each do |key, value| m = "#{key}=".to_sym send(m, value) if respond_to?(m) end end