Class: Synapse::Nodes
- Inherits:
-
Object
- Object
- Synapse::Nodes
- Defined in:
- lib/synapse_api/nodes.rb
Instance Attribute Summary collapse
-
#limit ⇒ Object
readonly
Returns the value of attribute limit.
-
#nodes_count ⇒ Object
readonly
Returns the value of attribute nodes_count.
-
#page ⇒ Object
readonly
Returns the value of attribute page.
-
#page_count ⇒ Object
readonly
Returns the value of attribute page_count.
-
#payload ⇒ Object
readonly
Returns the value of attribute payload.
Instance Method Summary collapse
-
#initialize(page:, limit:, page_count:, nodes_count:, payload:) ⇒ Nodes
constructor
A new instance of Nodes.
Constructor Details
#initialize(page:, limit:, page_count:, nodes_count:, payload:) ⇒ Nodes
Returns a new instance of Nodes.
9 10 11 12 13 14 15 |
# File 'lib/synapse_api/nodes.rb', line 9 def initialize(page:,limit:, page_count:, nodes_count:, payload:) @page = page @limit = limit @nodes_count = nodes_count @page_count = page_count @payload = payload end |
Instance Attribute Details
#limit ⇒ Object (readonly)
Returns the value of attribute limit.
5 6 7 |
# File 'lib/synapse_api/nodes.rb', line 5 def limit @limit end |
#nodes_count ⇒ Object (readonly)
Returns the value of attribute nodes_count.
5 6 7 |
# File 'lib/synapse_api/nodes.rb', line 5 def nodes_count @nodes_count end |
#page ⇒ Object (readonly)
Returns the value of attribute page.
5 6 7 |
# File 'lib/synapse_api/nodes.rb', line 5 def page @page end |
#page_count ⇒ Object (readonly)
Returns the value of attribute page_count.
5 6 7 |
# File 'lib/synapse_api/nodes.rb', line 5 def page_count @page_count end |
#payload ⇒ Object (readonly)
Returns the value of attribute payload.
5 6 7 |
# File 'lib/synapse_api/nodes.rb', line 5 def payload @payload end |