Class: Io::Flow::V0::Models::ReturnStatus

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

Returns a new instance of ReturnStatus.



8083
8084
8085
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8083

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

Instance Attribute Details

#value ⇒ Object (readonly)

Returns the value of attribute value.



8081
8082
8083
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8081

def value
  @value
end

Instance Method Details

#to_hash ⇒ Object



8115
8116
8117
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8115

def to_hash
  value
end