Class: FbGraph2::Struct::StaticResource

Inherits:
FbGraph2::Struct show all
Defined in:
lib/fb_graph2/struct/static_resource.rb

Instance Method Summary collapse

Methods included from AttributeAssigner

#assign

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