Class: Dnsimple::CollectionResponse

Inherits:
Response
  • Object
show all
Defined in:
lib/dnsimple/response.rb

Overview

The CollectionResponse is a specific type of Response where the data is a collection of enumerable objects.

Direct Known Subclasses

PaginatedResponse

Instance Attribute Summary

Attributes inherited from Response

#data, #http_response, #rate_limit, #rate_limit_remaining, #rate_limit_reset

Instance Method Summary collapse

Constructor Details

#initialize(http_response, collection) ⇒ CollectionResponse

Returns a new instance of CollectionResponse.



42
43
44
# File 'lib/dnsimple/response.rb', line 42

def initialize(http_response, collection)
  super
end