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