Sha256: ad7f47fb534aaeda1030ff8df02339d479aefb13a4bbbcf6e1853e320defc773

Contents?: true

Size: 408 Bytes

Versions: 3

Compression:

Stored size: 408 Bytes

Contents

module OpConnect
  class Item
    class File
      attr_reader :id, :name, :size, :content_path, :content, :section

      def initialize(options = {})
        @id = options["id"]
        @name = options["name"]
        @size = options["size"]
        @content_path = options["content_path"]
        @content = options["content"]
        @section = Object.new(options["section"])
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
op_connect-0.1.3 lib/op_connect/item/file.rb
op_connect-0.1.2 lib/op_connect/item/file.rb
op_connect-0.1.1 lib/op_connect/item/file.rb