Sha256: ca42ed70564ec9de8a8f6d006ed57a9d57db3ae20b71be4fa9b79a16c3d7ce21
Contents?: true
Size: 767 Bytes
Versions: 7
Compression:
Stored size: 767 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
7 entries across 7 versions & 1 rubygems