Sha256: 8c4c95a79d63c80d35c1c342919bf8238596a6f282c426e86d505aa3c292d110
Contents?: true
Size: 315 Bytes
Versions: 6
Compression:
Stored size: 315 Bytes
Contents
module Roqua module CoreApi # @api private class Person < ActiveInteraction::Base model :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
6 entries across 6 versions & 1 rubygems