Sha256: 52be9cfbdff2adf4afda2ec2d08847af4e019940a80911fc53b9bc2bfc8b0861
Contents?: true
Size: 440 Bytes
Versions: 5
Compression:
Stored size: 440 Bytes
Contents
module Xdelivery module API module Response class InvoiceSettings < Base Setting = Struct.new(:id, :title, :pay2go_merchant_id, :default_setting) def status? auth? end def settings data.map do |setting| Setting.new(setting['id'], setting['title'], setting['pay2go_merchant_id'], setting['default_setting']) end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems