Class: Io::Flow::V0::Models::PromotionTriggerType
- Inherits:
-
Object
- Object
- Io::Flow::V0::Models::PromotionTriggerType
- Defined in:
- lib/flow_commerce/flow_api_v0_client.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value) ⇒ PromotionTriggerType
constructor
A new instance of PromotionTriggerType.
- #to_hash ⇒ Object
Constructor Details
#initialize(value) ⇒ PromotionTriggerType
Returns a new instance of PromotionTriggerType.
7909 7910 7911 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7909 def initialize(value) @value = HttpClient::Preconditions.assert_class('value', value, String) end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
7907 7908 7909 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7907 def value @value end |
Instance Method Details
#to_hash ⇒ Object
7937 7938 7939 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7937 def to_hash value end |