Method: RTX::API::CollectionV2#initialize

Defined in:
lib/rtx/api/collection_v2.rb

#initialize(client, resource_name, attrs = {}) ⇒ CollectionV2

Returns a new instance of CollectionV2.


8
9
10
11
12
13
# File 'lib/rtx/api/collection_v2.rb', line 8

def initialize(client, resource_name, attrs = {})
  @client = client
  @resource_name = resource_name.to_sym
  @options = symbolize_hash(attrs)
  @response = {}
end