Class: Flickr::MethodArgument
- Inherits:
-
Object
- Object
- Flickr::MethodArgument
- Defined in:
- lib/flickr/reflection.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#optional ⇒ Object
readonly
Returns the value of attribute optional.
Instance Method Summary collapse
-
#initialize(name, optional, description) ⇒ MethodArgument
constructor
A new instance of MethodArgument.
Constructor Details
#initialize(name, optional, description) ⇒ MethodArgument
Returns a new instance of MethodArgument.
21 22 23 24 25 |
# File 'lib/flickr/reflection.rb', line 21 def initialize(name,optional,description) @name = name @optional = optional @description = description end |
Instance Attribute Details
#description ⇒ Object (readonly)
Returns the value of attribute description.
19 20 21 |
# File 'lib/flickr/reflection.rb', line 19 def description @description end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
19 20 21 |
# File 'lib/flickr/reflection.rb', line 19 def name @name end |
#optional ⇒ Object (readonly)
Returns the value of attribute optional.
19 20 21 |
# File 'lib/flickr/reflection.rb', line 19 def optional @optional end |