Class: Cloudrider::Apiv1::ProductShowEmblem::Context
- Inherits:
-
Object
- Object
- Cloudrider::Apiv1::ProductShowEmblem::Context
- Defined in:
- lib/cloudrider/apiv1/product_show_emblem.rb
Instance Attribute Summary collapse
-
#show_style ⇒ Object
Returns the value of attribute show_style.
Instance Method Summary collapse
Instance Attribute Details
#show_style ⇒ Object
Returns the value of attribute show_style.
3 4 5 |
# File 'lib/cloudrider/apiv1/product_show_emblem.rb', line 3 def show_style @show_style end |
Instance Method Details
#online_offerable? ⇒ Boolean
4 5 6 7 8 9 10 11 |
# File 'lib/cloudrider/apiv1/product_show_emblem.rb', line 4 def online_offerable? case show_style.to_s when "ecommerce" true else false end end |