Class: Synapse::Nodes

Inherits:
Object
  • Object
show all
Defined in:
lib/synapse_api/nodes.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#limitObject (readonly)

Returns the value of attribute limit.



5
6
7
# File 'lib/synapse_api/nodes.rb', line 5

def limit
  @limit
end

#nodes_countObject (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

#pageObject (readonly)

Returns the value of attribute page.



5
6
7
# File 'lib/synapse_api/nodes.rb', line 5

def page
  @page
end

#page_countObject (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

#payloadObject (readonly)

Returns the value of attribute payload.



5
6
7
# File 'lib/synapse_api/nodes.rb', line 5

def payload
  @payload
end