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