Class: Regis::Response::Section
- Defined in:
- lib/regis/responses/section.rb
Instance Attribute Summary collapse
-
#section ⇒ Object
readonly
Returns the value of attribute section.
Instance Method Summary collapse
-
#initialize(json) ⇒ Section
constructor
A new instance of Section.
Constructor Details
#initialize(json) ⇒ Section
Returns a new instance of Section.
9 10 11 |
# File 'lib/regis/responses/section.rb', line 9 def initialize(json) @section = parse(json, Model::Section) end |
Instance Attribute Details
#section ⇒ Object (readonly)
Returns the value of attribute section.
7 8 9 |
# File 'lib/regis/responses/section.rb', line 7 def section @section end |