Class: Braintree::BankAccountInstantVerificationJwt

Inherits:
Object
  • Object
show all
Includes:
BaseModule
Defined in:
lib/braintree/bank_account_instant_verification_jwt.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods included from BaseModule

included

Methods included from Braintree::BaseModule::Methods

#copy_instance_variables_from_object, #return_object_or_raise, #set_instance_variables_from_hash, #singleton_class

Constructor Details

#initialize(attributes) ⇒ BankAccountInstantVerificationJwt

Returns a new instance of BankAccountInstantVerificationJwt.



7
8
9
# File 'lib/braintree/bank_account_instant_verification_jwt.rb', line 7

def initialize(attributes)
  set_instance_variables_from_hash(attributes)
end

Instance Attribute Details

#jwtObject (readonly)

Returns the value of attribute jwt.



5
6
7
# File 'lib/braintree/bank_account_instant_verification_jwt.rb', line 5

def jwt
  @jwt
end

Class Method Details

._new(*args) ⇒ Object



11
12
13
# File 'lib/braintree/bank_account_instant_verification_jwt.rb', line 11

def self._new(*args)
  self.new(*args)
end

Instance Method Details

#inspectObject



15
16
17
18
19
20
21
# File 'lib/braintree/bank_account_instant_verification_jwt.rb', line 15

def inspect
  attr_order = [:jwt]
  formatted_attrs = attr_order.map do |attr|
    "#{attr}: #{send(attr).inspect}"
  end
  "#<#{self.class} #{formatted_attrs.join(', ')}>"
end