Class: Apiary::ApiMethod

Inherits:
Struct
  • Object
show all
Defined in:
lib/apiary/api_method.rb

Instance Attribute Summary collapse

Instance Attribute Details

#asyncObject Also known as: async?

Returns the value of attribute async

Returns:

  • (Object)

    the current value of async



2
3
4
# File 'lib/apiary/api_method.rb', line 2

def async
  @async
end

#http_methodObject

Returns the value of attribute http_method

Returns:

  • (Object)

    the current value of http_method



2
3
4
# File 'lib/apiary/api_method.rb', line 2

def http_method
  @http_method
end

#methodObject

Returns the value of attribute method

Returns:

  • (Object)

    the current value of method



2
3
4
# File 'lib/apiary/api_method.rb', line 2

def method
  @method
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



2
3
4
# File 'lib/apiary/api_method.rb', line 2

def path
  @path
end