Class: Io::Flow::V0::Models::DayOfWeek

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

Returns a new instance of DayOfWeek.



6396
6397
6398
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6396

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

Instance Attribute Details

#value ⇒ Object (readonly)

Returns the value of attribute value.



6394
6395
6396
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6394

def value
  @value
end

Instance Method Details

#to_hash ⇒ Object



6448
6449
6450
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6448

def to_hash
  value
end