Class: Io::Flow::V0::Models::ExceptionType

Inherits:
Object
  • Object
show all
Defined in:
lib/flow_commerce/flow_api_v0_client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ ExceptionType

Returns a new instance of ExceptionType.



6861
6862
6863
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6861

def initialize(value)
  @value = HttpClient::Preconditions.assert_class('value', value, String)
end

Instance Attribute Details

#value ⇒ Object (readonly)

Returns the value of attribute value.



6859
6860
6861
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6859

def value
  @value
end

Instance Method Details

#to_hash ⇒ Object



6893
6894
6895
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6893

def to_hash
  value
end