Class: Flickr::MethodArgument

Inherits:
Object
  • Object
show all
Defined in:
lib/flickr/reflection.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#descriptionObject (readonly)

Returns the value of attribute description.



19
20
21
# File 'lib/flickr/reflection.rb', line 19

def description
  @description
end

#nameObject (readonly)

Returns the value of attribute name.



19
20
21
# File 'lib/flickr/reflection.rb', line 19

def name
  @name
end

#optionalObject (readonly)

Returns the value of attribute optional.



19
20
21
# File 'lib/flickr/reflection.rb', line 19

def optional
  @optional
end