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