class FriendlyScore::Endpoints::ShowPartnerUser

Private Instance Methods

api_path() click to toggle source
# File lib/friendly_score/endpoints/show_partner_user.rb, line 11
def api_path
  "api/show-partner-user.json"
end
process_response(body) click to toggle source
# File lib/friendly_score/endpoints/show_partner_user.rb, line 7
def process_response body 
  User.new MultiJson.load body
end
request_params(partner_user_id) click to toggle source
# File lib/friendly_score/endpoints/show_partner_user.rb, line 15
def request_params partner_user_id
  {
    "partnerUserId" => partner_user_id
  }
end