class Braintree::VenmoAccount
Attributes
created_at[R]
customer_id[R]
default[R]
image_url[R]
source_description[R]
subscriptions[R]
token[R]
updated_at[R]
username[R]
venmo_user_id[R]
Public Class Methods
_new(*args)
click to toggle source
# File lib/braintree/venmo_account.rb, line 30 def self._new(*args) self.new(*args) end
Protected Class Methods
new(gateway, attributes)
click to toggle source
# File lib/braintree/venmo_account.rb, line 16 def initialize(gateway, attributes) @gateway = gateway set_instance_variables_from_hash(attributes) @subscriptions = (@subscriptions || []).map { |subscription_hash| Subscription._new(@gateway, subscription_hash) } end
Public Instance Methods
default?()
click to toggle source
# File lib/braintree/venmo_account.rb, line 22 def default? @default end