Class: Synapse::Users

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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_clientObject (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

#limitObject (readonly)

Returns the value of attribute limit.



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

def limit
  @limit
end

#pageObject (readonly)

Returns the value of attribute page.



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

def page
  @page
end

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

#payloadObject (readonly)

Returns the value of attribute payload.



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

def payload
  @payload
end

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