Class: FolderEvent
- Inherits:
-
Object
- Object
- FolderEvent
- Defined in:
- lib/meshx-plugin-sdk.rb
Instance Attribute Summary collapse
-
#folder ⇒ Object
Returns the value of attribute folder.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#metadata ⇒ Object
Returns the value of attribute metadata.
-
#origin ⇒ Object
Returns the value of attribute origin.
-
#originalpath ⇒ Object
Returns the value of attribute originalpath.
-
#path ⇒ Object
Returns the value of attribute path.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(hash) ⇒ FolderEvent
constructor
A new instance of FolderEvent.
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
#folder ⇒ Object
Returns the value of attribute folder.
235 236 237 |
# File 'lib/meshx-plugin-sdk.rb', line 235 def folder @folder end |
#kind ⇒ Object
Returns the value of attribute kind.
235 236 237 |
# File 'lib/meshx-plugin-sdk.rb', line 235 def kind @kind end |
#metadata ⇒ Object
Returns the value of attribute metadata.
235 236 237 |
# File 'lib/meshx-plugin-sdk.rb', line 235 def @metadata end |
#origin ⇒ Object
Returns the value of attribute origin.
235 236 237 |
# File 'lib/meshx-plugin-sdk.rb', line 235 def origin @origin end |
#originalpath ⇒ Object
Returns the value of attribute originalpath.
235 236 237 |
# File 'lib/meshx-plugin-sdk.rb', line 235 def originalpath @originalpath end |
#path ⇒ Object
Returns the value of attribute path.
235 236 237 |
# File 'lib/meshx-plugin-sdk.rb', line 235 def path @path end |
#version ⇒ Object
Returns the value of attribute version.
235 236 237 |
# File 'lib/meshx-plugin-sdk.rb', line 235 def version @version end |