Sha256: 469868bdc7169c744e143f812aefc01a9a565063e6588dbf32b284d70e75b24e

Contents?: true

Size: 364 Bytes

Versions: 43

Compression:

Stored size: 364 Bytes

Contents

module FbGraph2
  class Struct
    class StaticResource < Struct
      register_attributes(
        raw: [:usage_stats, :prefetched_resources],
        custom: [:https]
      )

      def initialize(attributes = {})
        super
        if attributes.include? :https
          self.https = self.class.new attributes[:https]
        end
      end
    end
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
fb_graph2-1.3.0 lib/fb_graph2/struct/static_resource.rb
fb_graph2-1.2.0 lib/fb_graph2/struct/static_resource.rb
fb_graph2-1.1.1 lib/fb_graph2/struct/static_resource.rb
fb_graph2-1.1.0 lib/fb_graph2/struct/static_resource.rb
fb_graph2-1.0.1 lib/fb_graph2/struct/static_resource.rb
fb_graph2-1.0.0 lib/fb_graph2/struct/static_resource.rb
fb_graph2-0.9.1 lib/fb_graph2/struct/static_resource.rb
fb_graph2-0.9.0 lib/fb_graph2/struct/static_resource.rb
fb_graph2-0.8.0 lib/fb_graph2/struct/static_resource.rb
fb_graph2-0.7.9 lib/fb_graph2/struct/static_resource.rb
fb_graph2-0.7.8 lib/fb_graph2/struct/static_resource.rb
fb_graph2-0.7.7 lib/fb_graph2/struct/static_resource.rb
fb_graph2-0.7.6 lib/fb_graph2/struct/static_resource.rb
fb_graph2-0.7.5 lib/fb_graph2/struct/static_resource.rb
fb_graph2-0.7.4 lib/fb_graph2/struct/static_resource.rb
fb_graph2-0.7.3 lib/fb_graph2/struct/static_resource.rb
fb_graph2-0.7.2 lib/fb_graph2/struct/static_resource.rb
fb_graph2-0.7.1 lib/fb_graph2/struct/static_resource.rb
fb_graph2-0.7.0 lib/fb_graph2/struct/static_resource.rb
fb_graph2-0.6.2 lib/fb_graph2/struct/static_resource.rb