class HermesAPI::OAuth

Public Class Methods

new(attributes = {}, persisted = false) click to toggle source
Calls superclass method
# File lib/hermes_api/resources/o_auth.rb, line 7
def initialize(attributes = {}, persisted = false)
  attributes = {
    grant_type: "client_credentials",
    **attributes
  }
  super
end