Class: Io::Flow::V0::Models::QuoteErrorCode

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) ⇒ QuoteErrorCode

Returns a new instance of QuoteErrorCode.



7991
7992
7993
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7991

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

Instance Attribute Details

#value ⇒ Object (readonly)

Returns the value of attribute value.



7989
7990
7991
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7989

def value
  @value
end

Instance Method Details

#to_hash ⇒ Object



8024
8025
8026
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8024

def to_hash
  value
end