Class: Tikkie::Api::Responses::Users

Inherits:
Base
  • Object
show all
Includes:
Enumerable
Defined in:
lib/tikkie/api/responses/users.rb

Overview

Response when requesting users (list).

Instance Attribute Summary

Attributes inherited from Base

#data, #response

Instance Method Summary collapse

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