Sha256: c02b7b1012a35960f5f8db59b18cf68e07f5face6cf12c9709e736da076c9c44
Contents?: true
Size: 483 Bytes
Versions: 1
Compression:
Stored size: 483 Bytes
Contents
module Braintree class LocalPaymentCompleted class BlikAlias include BaseModule attr_reader :key attr_reader :label def initialize(attributes) set_instance_variables_from_hash attributes unless attributes.nil? end def inspect attrs = [:key, :label] formatted_attrs = attrs.map do |attr| "#{attr}: #{send(attr).inspect}" end "#<#{formatted_attrs.join(", ")}>" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
braintree-4.23.0 | lib/braintree/local_payment_completed/blik_alias.rb |