Class: Io::Flow::V0::Models::UserStatus

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

Returns a new instance of UserStatus.



8849
8850
8851
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8849

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

Instance Attribute Details

#value ⇒ Object (readonly)

Returns the value of attribute value.



8847
8848
8849
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8847

def value
  @value
end

Instance Method Details

#to_hash ⇒ Object



8889
8890
8891
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8889

def to_hash
  value
end