Class: FbGraph2::Struct::AppEventType
- Inherits:
-
FbGraph2::Struct
- Object
- FbGraph2::Struct
- FbGraph2::Struct::AppEventType
- Defined in:
- lib/fb_graph2/struct/app_event_type.rb
Defined Under Namespace
Classes: Parameter
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ AppEventType
constructor
A new instance of AppEventType.
Methods included from AttributeAssigner
Constructor Details
#initialize(attributes = {}) ⇒ AppEventType
Returns a new instance of AppEventType.
15 16 17 18 19 20 21 22 |
# File 'lib/fb_graph2/struct/app_event_type.rb', line 15 def initialize(attributes = {}) super if attributes.include? :parameters self.parameters = Collection.new(attributes[:parameters]).collect! do |param| Parameter.new param end end end |