module Whatconverts::Client::Profile
Public Instance Methods
create_profile(account_id, params = {})
click to toggle source
# File lib/whatconverts/client/profile.rb, line 12 def create_profile(account_id, params = {}) params.merge!(method: :post) http_service.make_request("accounts/#{account_id}/profiles", params) end
delete_profile(account_id, profile_id, params = {})
click to toggle source
# File lib/whatconverts/client/profile.rb, line 22 def delete_profile(account_id, profile_id, params = {}) params.merge!(method: :delete) http_service.make_request("accounts/#{account_id}/profiles/#{profile_id}", params) end
edit_profile(account_id, profile_id, params = {})
click to toggle source
# File lib/whatconverts/client/profile.rb, line 17 def edit_profile(account_id, profile_id, params = {}) params.merge!(method: :post) http_service.make_request("accounts/#{account_id}/profiles/#{profile_id}", params) end
profile(account_id, profile_id, params = {})
click to toggle source
# File lib/whatconverts/client/profile.rb, line 8 def profile(account_id, profile_id, params = {}) http_service.make_request("accounts/#{account_id}/profiles/#{profile_id}", params) end
profiles(account_id, params = {})
click to toggle source
# File lib/whatconverts/client/profile.rb, line 4 def profiles(account_id, params = {}) http_service.make_request("accounts/#{account_id}/profiles", params) end