Class: Pal::Request::Metadata
- Inherits:
-
Object
- Object
- Pal::Request::Metadata
show all
- Includes:
- ObjectHelpers
- Defined in:
- lib/pal/request/metadata.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
#attributes=, #from_hash, #from_json
Constructor Details
#initialize(opts = {}) ⇒ Metadata
Returns a new instance of Metadata.
11
12
13
14
15
16
|
# File 'lib/pal/request/metadata.rb', line 11
def initialize(opts={})
@description = opts["description"]
@version = opts["version"]
@handler = opts["handler"]
@name = opts["name"]
end
|
Instance Attribute Details
#description ⇒ String
9
10
11
|
# File 'lib/pal/request/metadata.rb', line 9
def description
@description
end
|
#handler ⇒ String
9
10
11
|
# File 'lib/pal/request/metadata.rb', line 9
def handler
@handler
end
|
#name ⇒ String
9
10
11
|
# File 'lib/pal/request/metadata.rb', line 9
def name
@name
end
|
#version ⇒ String
9
10
11
|
# File 'lib/pal/request/metadata.rb', line 9
def version
@version
end
|