Class: Flickr::Method

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, authenticated, description, response, explanation) ⇒ Method

Returns a new instance of Method.



27
28
29
30
31
32
33
34
35
# File 'lib/flickr/reflection.rb', line 27

def initialize(name,authenticated,description,response,explanation)
	@name = name
	@authenticated = authenticated
	@description = description
	@response = response
	@explanation = explanation
	@arguments = []
	@errors = []
end

Instance Attribute Details

#argumentsObject (readonly)

Returns the value of attribute arguments.



24
25
26
# File 'lib/flickr/reflection.rb', line 24

def arguments
  @arguments
end

#authenticatedObject (readonly)

Returns the value of attribute authenticated.



24
25
26
# File 'lib/flickr/reflection.rb', line 24

def authenticated
  @authenticated
end

#descriptionObject (readonly)

Returns the value of attribute description.



24
25
26
# File 'lib/flickr/reflection.rb', line 24

def description
  @description
end

#errorsObject (readonly)

Returns the value of attribute errors.



24
25
26
# File 'lib/flickr/reflection.rb', line 24

def errors
  @errors
end

#explanationObject (readonly)

Returns the value of attribute explanation.



24
25
26
# File 'lib/flickr/reflection.rb', line 24

def explanation
  @explanation
end

#nameObject (readonly)

Returns the value of attribute name.



24
25
26
# File 'lib/flickr/reflection.rb', line 24

def name
  @name
end

#responseObject (readonly)

Returns the value of attribute response.



24
25
26
# File 'lib/flickr/reflection.rb', line 24

def response
  @response
end