Class: Io::Flow::V0::Models::EventType

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

Returns a new instance of EventType.



6599
6600
6601
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6599

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

Instance Attribute Details

#value ⇒ Object (readonly)

Returns the value of attribute value.



6597
6598
6599
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6597

def value
  @value
end

Instance Method Details

#to_hash ⇒ Object



6851
6852
6853
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6851

def to_hash
  value
end