Class: FbGraph2::Struct

Inherits:
Object
  • Object
show all
Defined in:
lib/fb_graph2/struct.rb,
lib/fb_graph2/struct/poke.rb,
lib/fb_graph2/struct/role.rb,
lib/fb_graph2/struct/work.rb,
lib/fb_graph2/struct/score.rb,
lib/fb_graph2/struct/action.rb,
lib/fb_graph2/struct/device.rb,
lib/fb_graph2/struct/friend.rb,
lib/fb_graph2/struct/context.rb,
lib/fb_graph2/struct/parking.rb,
lib/fb_graph2/struct/picture.rb,
lib/fb_graph2/struct/privacy.rb,
lib/fb_graph2/struct/app_link.rb,
lib/fb_graph2/struct/currency.rb,
lib/fb_graph2/struct/location.rb,
lib/fb_graph2/struct/property.rb,
lib/fb_graph2/struct/age_range.rb,
lib/fb_graph2/struct/education.rb,
lib/fb_graph2/struct/group_file.rb,
lib/fb_graph2/struct/permission.rb,
lib/fb_graph2/struct/image_source.rb,
lib/fb_graph2/struct/subscription.rb,
lib/fb_graph2/struct/app_event_type.rb,
lib/fb_graph2/struct/payment_options.rb,
lib/fb_graph2/struct/static_resource.rb,
lib/fb_graph2/struct/restaurant_services.rb,
lib/fb_graph2/struct/restaurant_specialties.rb

Defined Under Namespace

Modules: Context Classes: Action, AgeRange, AppEventType, AppLink, Currency, Device, Education, Friend, GroupFile, ImageSource, Location, Parking, PaymentOptions, Permission, Picture, Poke, Privacy, Property, RestaurantServices, RestaurantSpecialties, Role, Score, StaticResource, Subscription, Work

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ Struct



7
8
9
# File 'lib/fb_graph2/struct.rb', line 7

def initialize(attributes = {})
  assign attributes if respond_to? :assign
end

Class Method Details

.inherited(klass) ⇒ Object



3
4
5
# File 'lib/fb_graph2/struct.rb', line 3

def self.inherited(klass)
  klass.send :include, AttributeAssigner
end