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



240
241
242
243
244
245
246
247
248
249
# File 'lib/meshx-plugin-sdk.rb', line 240

def initialize(hash)
  @kind = hash["kind"]
  @version = hash["version"]
   = .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.



238
239
240
# File 'lib/meshx-plugin-sdk.rb', line 238

def folder
  @folder
end

#kindObject

Returns the value of attribute kind.



238
239
240
# File 'lib/meshx-plugin-sdk.rb', line 238

def kind
  @kind
end

#metadataObject

Returns the value of attribute metadata.



238
239
240
# File 'lib/meshx-plugin-sdk.rb', line 238

def 
  
end

#originObject

Returns the value of attribute origin.



238
239
240
# File 'lib/meshx-plugin-sdk.rb', line 238

def origin
  @origin
end

#originalpathObject

Returns the value of attribute originalpath.



238
239
240
# File 'lib/meshx-plugin-sdk.rb', line 238

def originalpath
  @originalpath
end

#pathObject

Returns the value of attribute path.



238
239
240
# File 'lib/meshx-plugin-sdk.rb', line 238

def path
  @path
end

#versionObject

Returns the value of attribute version.



238
239
240
# File 'lib/meshx-plugin-sdk.rb', line 238

def version
  @version
end