Class: Facebooker::InfoSection
- Inherits:
-
Object
- Object
- Facebooker::InfoSection
- Includes:
- Model
- Defined in:
- lib/facebooker/models/info_section.rb
Instance Attribute Summary collapse
-
#field ⇒ Object
Returns the value of attribute field.
-
#items ⇒ Object
Returns the value of attribute items.
Instance Method Summary collapse
Methods included from Model
#anon=, included, #initialize, #populate, #populate_from_hash!, #populated?, #session
Instance Attribute Details
#field ⇒ Object
Returns the value of attribute field.
4 5 6 |
# File 'lib/facebooker/models/info_section.rb', line 4 def field @field end |
#items ⇒ Object
Returns the value of attribute items.
4 5 6 |
# File 'lib/facebooker/models/info_section.rb', line 4 def items @items end |
Instance Method Details
#to_json ⇒ Object
6 7 8 |
# File 'lib/facebooker/models/info_section.rb', line 6 def to_json {:field => field, :items => items}.to_json end |