class Ecoportal::API::V2::People
@attr_reader client [Common::Client] a `Common::Client` object that holds the configuration of the api connection.
Public Instance Methods
batch()
click to toggle source
# File lib/ecoportal/api/v2/people.rb, line 7 def batch unavailable_method!(__method__) end
job()
click to toggle source
# File lib/ecoportal/api/v2/people.rb, line 11 def job unavailable_method!(__method__) end
Private Instance Methods
body_data(body)
click to toggle source
Re-using hook to obtain the raw data response
# File lib/ecoportal/api/v2/people.rb, line 18 def body_data(body) return body unless body.is_a?(Hash) return body unless body.key?("data") body["data"] end