Class: Facebooker::InfoSection
- Inherits:
-
Object
- Object
- Facebooker::InfoSection
- Includes:
- Model
- Defined in:
- lib/facebooker/models/info_section.rb
Instance Attribute Summary (collapse)
-
- (Object) field
Returns the value of attribute field.
-
- (Object) items
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
- (Object) field
Returns the value of attribute field
4 5 6 |
# File 'lib/facebooker/models/info_section.rb', line 4 def field @field end |
- (Object) items
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
- (Object) to_json
6 7 8 |
# File 'lib/facebooker/models/info_section.rb', line 6 def to_json {:field => field, :items => items}.to_json end |