Sha256: 171b29cea290536d7d95da754e546706b6f9412ea60505f3a3fa174fde72b906

Contents?: true

Size: 466 Bytes

Versions: 7

Compression:

Stored size: 466 Bytes

Contents

module AdaptivePayments
  class PayError < JsonModel
    attribute :receiver, Node[Receiver]
    attribute :error,    Node[ErrorData]

    include ReceiverAliases

    alias_params :error, {
      :error_id         => :id,
      :error_domain     => :domain,
      :error_subdomain  => :subdomain,
      :error_severity   => :severity,
      :error_category   => :category,
      :error_message    => :message,
      :error_parameters => :parameters
    }
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
creative-pp-adaptive-1.1.1 lib/pp-adaptive/types/pay_error.rb
pp-adaptive-1.0.0 lib/pp-adaptive/types/pay_error.rb
pp-adaptive-0.0.6 lib/pp-adaptive/types/pay_error.rb
pp-adaptive-0.0.5 lib/pp-adaptive/types/pay_error.rb
pp-adaptive-0.0.4 lib/pp-adaptive/types/pay_error.rb
pp-adaptive-0.0.3 lib/pp-adaptive/types/pay_error.rb
pp-adaptive-0.0.2 lib/pp-adaptive/types/pay_error.rb