class GaroonCat::Actions::UTIL_API::UTIL::Login

Public Instance Methods

execute(*args) click to toggle source
# File lib/garoon-cat/actions/util_api/util/login.rb, line 5
def execute(*args)
  request = GaroonCat::Request.new(default_params.merge({
    body:{
      parameters: args[0][0]
    }
  }))
  request_body = request.to_s
  response_body = @service.client.post(@service.uri, request_body)
  response = GaroonCat::Response.new(response_body)
  return response.to_params
end