Class: Tikkie::Api::V1::Responses::Users
- Includes:
- Enumerable
- Defined in:
- lib/tikkie/api/v1/responses/users.rb
Overview
Response when requesting users (list).
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
- #each(&block) ⇒ Object
-
#initialize(response) ⇒ Users
constructor
A new instance of Users.
Methods inherited from Base
#error?, #errors, #response_code, #success?, #trace_id
Constructor Details
#initialize(response) ⇒ Users
Returns a new instance of Users.
11 12 13 |
# File 'lib/tikkie/api/v1/responses/users.rb', line 11 def initialize(response) super(response) end |
Instance Method Details
#each(&block) ⇒ Object
15 16 17 |
# File 'lib/tikkie/api/v1/responses/users.rb', line 15 def each(&block) users.each(&block) end |