Class: FbGraph2::Struct::StaticResource
- Inherits:
-
FbGraph2::Struct
- Object
- FbGraph2::Struct
- FbGraph2::Struct::StaticResource
- Defined in:
- lib/fb_graph2/struct/static_resource.rb
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ StaticResource
constructor
A new instance of StaticResource.
Methods included from AttributeAssigner
Constructor Details
#initialize(attributes = {}) ⇒ StaticResource
Returns a new instance of StaticResource.
9 10 11 12 13 14 |
# File 'lib/fb_graph2/struct/static_resource.rb', line 9 def initialize(attributes = {}) super if attributes.include? :https self.https = self.class.new attributes[:https] end end |