Sha256: ff523a688f1562111dc74d3dafe318b7c7e9a0d98f9b27ba05352aea6d474529

Contents?: true

Size: 229 Bytes

Versions: 4

Compression:

Stored size: 229 Bytes

Contents

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

4 entries across 4 versions & 1 rubygems

Version Path
upland_mobile_commons_rest-0.1.2 lib/upland_mobile_commons_rest/campaigns.rb
upland_mobile_commons_rest-0.1.1 lib/upland_mobile_commons_rest/campaigns.rb
upland_mobile_commons_rest-0.1.0 lib/upland_mobile_commons_rest/campaigns.rb
upland_mobile_commons_rest-0.0.1 lib/upland_mobile_commons_rest/campaigns.rb