Sha256: 496d6d8f59374cd21ac424a787e46d28f22db90a1b43b0a28852b425fa6fea3e
Contents?: true
Size: 531 Bytes
Versions: 33
Compression:
Stored size: 531 Bytes
Contents
module Braintree class FacilitatorDetails # :nodoc: include BaseModule attr_reader :oauth_application_client_id, :oauth_application_name def initialize(attributes) set_instance_variables_from_hash attributes unless attributes.nil? end def inspect attr_order = [:oauth_application_client_id, :oauth_application_name] formatted_attrs = attr_order.map do |attr| "#{attr}: #{send(attr).inspect}" end "#<FacilitatorDetails #{formatted_attrs.join(", ")}>" end end end
Version data entries
33 entries across 33 versions & 1 rubygems