Class: Tikkie::Api::Responses::Users
- Includes:
- Enumerable
- Defined in:
- lib/tikkie/api/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.
10 11 12 |
# File 'lib/tikkie/api/responses/users.rb', line 10 def initialize(response) super(response) end |
Instance Method Details
#each(&block) ⇒ Object
14 15 16 |
# File 'lib/tikkie/api/responses/users.rb', line 14 def each(&block) users.each(&block) end |