Class: SynapsePayments::Node

Inherits:
Object
  • Object
show all
Defined in:
lib/synapse_payments/node.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client, user_id, node_id, oauth_key, fingerprint) ⇒ Node

Returns a new instance of Node.



6
7
8
9
# File 'lib/synapse_payments/node.rb', line 6

def initialize(client, user_id, node_id, oauth_key, fingerprint)
  @client = client
  @transactions = Transactions.new(@client, user_id, node_id, oauth_key, fingerprint)
end

Instance Attribute Details

#transactionsObject (readonly)

Returns the value of attribute transactions.



4
5
6
# File 'lib/synapse_payments/node.rb', line 4

def transactions
  @transactions
end