Sha256: c32c212971984b1c738cff42d24053a66446d9bca192856f23307c7de1747059
Contents?: true
Size: 316 Bytes
Versions: 20
Compression:
Stored size: 316 Bytes
Contents
module Roqua module CoreApi # @api private class Person < ActiveInteraction::Base model :session, class: Sessions::OAuthSession string :person_id def execute response = session.get "/people/#{person_id}" Models::Person.new(response['person']) end end end end
Version data entries
20 entries across 20 versions & 1 rubygems