Sha256: 7c3089fbf1a3ed3fe8da0b7e72a1772d5b5d6a963e975a8e679f2301ef8e4383

Contents?: true

Size: 259 Bytes

Versions: 3

Compression:

Stored size: 259 Bytes

Contents

# frozen_string_literal: true

module UplandMobileCommonsRest
  class Campaigns < Base
    def base_path
      'campaigns'
    end

    def list
      resp = client.get_request(base_path)
      resp.body['response']['campaigns']['campaign']
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
upland_mobile_commons_rest-0.3.1 lib/upland_mobile_commons_rest/campaigns.rb
upland_mobile_commons_rest-0.3.0 lib/upland_mobile_commons_rest/campaigns.rb
upland_mobile_commons_rest-0.2.0 lib/upland_mobile_commons_rest/campaigns.rb