Class: SynapsePayments::Node
- Inherits:
-
Object
- Object
- SynapsePayments::Node
- Defined in:
- lib/synapse_payments/node.rb
Instance Attribute Summary collapse
-
#transactions ⇒ Object
readonly
Returns the value of attribute transactions.
Instance Method Summary collapse
-
#initialize(client, user_id, node_id, oauth_key, fingerprint) ⇒ Node
constructor
A new instance of Node.
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
#transactions ⇒ Object (readonly)
Returns the value of attribute transactions.
4 5 6 |
# File 'lib/synapse_payments/node.rb', line 4 def transactions @transactions end |