Class: Endpointer::Resource

Inherits:
Struct
  • Object
show all
Defined in:
lib/endpointer/resource.rb

Instance Attribute Summary collapse

Instance Attribute Details

#headers ⇒ Object

Returns the value of attribute headers

Returns:

  • (Object) —

    the current value of headers



2
3
4
# File 'lib/endpointer/resource.rb', line 2

def headers
  @headers
end

#id ⇒ Object

Returns the value of attribute id

Returns:

  • (Object) —

    the current value of id



2
3
4
# File 'lib/endpointer/resource.rb', line 2

def id
  @id
end

#method ⇒ Object

Returns the value of attribute method

Returns:

  • (Object) —

    the current value of method



2
3
4
# File 'lib/endpointer/resource.rb', line 2

def method
  @method
end

#url ⇒ Object

Returns the value of attribute url

Returns:

  • (Object) —

    the current value of url



2
3
4
# File 'lib/endpointer/resource.rb', line 2

def url
  @url
end