Sha256: 76fdbab83ff07f83181713147675340cf35d5fdea4f0de9fc3654a2d1a7c93cd
Contents?: true
Size: 755 Bytes
Versions: 1
Compression:
Stored size: 755 Bytes
Contents
module Ecoportal module API class V2 # @attr_reader client [Common::Client] a `Common::Client` object that holds the configuration of the api connection. class People < Internal::People def batch unavailable_method!(__method__) end def job unavailable_method!(__method__) end private # Re-using hook to obtain the raw data response def body_data(body) return body unless body.is_a?(Hash) return body unless body.key?("data") body["data"] end def unavailable_method!(str) raise "Unavailable method '#{str}' for api '#{VERSION}'" end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ecoportal-api-oozes-0.7.5 | lib/ecoportal/api/v2/people.rb |