Sha256: 717da987a5a26c753018399264646e88cb0172f39596f5993b84823ca5017a42
Contents?: true
Size: 760 Bytes
Versions: 46
Compression:
Stored size: 760 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 < API::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
46 entries across 46 versions & 1 rubygems