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

Inherits:
Base
  • Object
show all
Includes:
Enumerable
Defined in:
lib/tikkie/api/v1/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.



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