Class: Epages::ContentPageSummary
- Inherits:
-
Object
- Object
- Epages::ContentPageSummary
- Includes:
- Utils
- Defined in:
- lib/epages/content_page_summary.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(data) ⇒ ContentPageSummary
constructor
A new instance of ContentPageSummary.
Methods included from Utils
build_shop_from, camelize_keys, camelize_words, options_to_multipart_request, options_to_patch_request, parse_attribute_as, parse_attribute_as_array_of, parse_attributes, symbolize_keys!, to_query_options, underscorize_keys
Constructor Details
#initialize(data) ⇒ ContentPageSummary
Returns a new instance of ContentPageSummary.
9 10 11 |
# File 'lib/epages/content_page_summary.rb', line 9 def initialize(data) @name = data[:name] end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
7 8 9 |
# File 'lib/epages/content_page_summary.rb', line 7 def name @name end |