class GpWebpay::WebServices::Response
Attributes
plain[RW]
Public Class Methods
new(data)
click to toggle source
# File lib/gp_webpay/web_services/response.rb, line 6 def initialize(data) @plain = data return unless data.respond_to?(:keys) data.keys.each do |key| define_singleton_method key.underscore do data[key] end end end