Class: OpenapiClient::ProviderResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/openapi_client/models/provider_response.rb

Constant Summary collapse

SANDBOX =
"sandbox".freeze
BAMBOOHR =
"bamboohr".freeze
BREATHE =
"breathe".freeze
CEZANNE =
"cezanne".freeze
CHARLIEHR =
"charliehr".freeze
DEEL =
"deel".freeze
DEPUTY =
"deputy".freeze
HAILYHR =
"hailyhr".freeze
HIBOB =
"hibob".freeze
HUMAANS =
"humaans".freeze
IRIS_CASCADE =
"iris cascade".freeze
MOOREPAY =
"moorepay".freeze
NMBRS =
"nmbrs".freeze
PAROLLA_IE =
"parolla.ie".freeze
PAYFIT =
"payfit".freeze
PERSONIO_DE =
"personio.de".freeze
PLANDAY =
"planday".freeze
SAGEHR =
"sagehr".freeze
SAPLINGHR =
"saplinghr".freeze
STAFFOLOGY =
"staffology".freeze
XERO_UK =
"xero uk".freeze
BRAIN_PAYROLL =
"brain payroll".freeze
BRIGHTPAY_CONNECT =
"brightpay connect".freeze
EMPLOYMENT_HERO =
"employment hero".freeze
FACTORIALHR =
"factorialhr".freeze
FOURTHHR =
"fourthhr".freeze
GUSTO =
"gusto".freeze
ITRENT =
"itrent".freeze
JUSTWORKS =
"justworks".freeze
ONPAY =
"onpay".freeze
OYSTERHR =
"oysterhr".freeze
PAYCIRCLE =
"paycircle".freeze
PENTO_IO =
"pento.io".freeze
PEOPLEHR =
"peoplehr".freeze
REMOTE_COM =
"remote.com".freeze
SAGEONE =
"sageone".freeze
SHAPE_PAYROLL =
"shape payroll".freeze
SIMPLEPAY_IE =
"simplepay.ie".freeze
QUICKBOOKS_ONLINE =
"quickbooks online".freeze
ZOHO =
"zoho".freeze

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.build_from_hash(value) ⇒ String

Builds the enum from string

Parameters:

  • The (String)

    enum value in the form of the string

Returns:

  • (String)

    The enum value



62
63
64
# File 'lib/openapi_client/models/provider_response.rb', line 62

def self.build_from_hash(value)
  new.build_from_hash(value)
end

Instance Method Details

#build_from_hash(value) ⇒ String

Builds the enum from string

Parameters:

  • The (String)

    enum value in the form of the string

Returns:

  • (String)

    The enum value



69
70
71
72
73
# File 'lib/openapi_client/models/provider_response.rb', line 69

def build_from_hash(value)
  constantValues = ProviderResponse.constants.select { |c| ProviderResponse::const_get(c) == value }
  raise "Invalid ENUM value #{value} for class #ProviderResponse" if constantValues.empty?
  value
end