Sha256: 3553871e2f378db68db4740434fa24c2877b7d1e7f71b357807f4f207daccc93

Contents?: true

Size: 324 Bytes

Versions: 8

Compression:

Stored size: 324 Bytes

Contents

require 'blurb/request_collection'

class Blurb
  class RequestCollectionWithCampaignType < RequestCollection

    def initialize(campaign_type:, resource:, base_url:, headers:)
      @campaign_type = campaign_type
      @base_url = "#{base_url}/v2/#{@campaign_type}/#{resource}"
      @headers = headers
    end
  end
end 

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
blurb-0.4.8 lib/blurb/request_collection_with_campaign_type.rb
blurb-0.4.7 lib/blurb/request_collection_with_campaign_type.rb
blurb-0.4.6 lib/blurb/request_collection_with_campaign_type.rb
blurb-0.4.5 lib/blurb/request_collection_with_campaign_type.rb
blurb-0.4.4 lib/blurb/request_collection_with_campaign_type.rb
blurb-0.4.2 lib/blurb/request_collection_with_campaign_type.rb
blurb-0.4.1 lib/blurb/request_collection_with_campaign_type.rb
blurb-0.4.0 lib/blurb/request_collection_with_campaign_type.rb