Class: FolderEvent

Inherits:
Object
  • Object
show all
Defined in:
lib/meshx-plugin-sdk.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(hash) ⇒ FolderEvent

Returns a new instance of FolderEvent.



237
238
239
240
241
242
243
244
245
246
# File 'lib/meshx-plugin-sdk.rb', line 237

def initialize(hash)
  @kind = hash["kind"]
  @version = hash["version"]
  @metadata = MetaData.new(hash["metadata"])
  @origin = hash["origin"]
  @path = hash["path"]
  @folder = hash["folder"]
  @originalpath = hash["originalpath"]
  @origin = hash["origin"]
end

Instance Attribute Details

#folderObject

Returns the value of attribute folder.



235
236
237
# File 'lib/meshx-plugin-sdk.rb', line 235

def folder
  @folder
end

#kindObject

Returns the value of attribute kind.



235
236
237
# File 'lib/meshx-plugin-sdk.rb', line 235

def kind
  @kind
end

#metadataObject

Returns the value of attribute metadata.



235
236
237
# File 'lib/meshx-plugin-sdk.rb', line 235

def 
  @metadata
end

#originObject

Returns the value of attribute origin.



235
236
237
# File 'lib/meshx-plugin-sdk.rb', line 235

def origin
  @origin
end

#originalpathObject

Returns the value of attribute originalpath.



235
236
237
# File 'lib/meshx-plugin-sdk.rb', line 235

def originalpath
  @originalpath
end

#pathObject

Returns the value of attribute path.



235
236
237
# File 'lib/meshx-plugin-sdk.rb', line 235

def path
  @path
end

#versionObject

Returns the value of attribute version.



235
236
237
# File 'lib/meshx-plugin-sdk.rb', line 235

def version
  @version
end