class Datastore
Attributes
files[RW]
mediatype[RW]
name[RW]
Public Class Methods
new(name)
click to toggle source
# File lib/filentory/datastore.rb, line 6 def initialize(name) @name = name @files = Array.new end
Public Instance Methods
to_json()
click to toggle source
# File lib/filentory/datastore.rb, line 11 def to_json Oj::dump self, :indent => 2 end