class UplandMobileCommonsRest::Campaigns

Public Instance Methods

base_path() click to toggle source
# File lib/upland_mobile_commons_rest/campaigns.rb, line 4
def base_path
  'campaigns'
end
list() click to toggle source
# File lib/upland_mobile_commons_rest/campaigns.rb, line 8
def list
  resp = client.get_request(base_path)
  resp.body['response']['campaigns']['campaign']
end