Class: Notion::Transport::Request

Inherits:
Data
  • Object
show all
Defined in:
lib/notion/transport.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#bodyObject (readonly)

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



5
6
7
# File 'lib/notion/transport.rb', line 5

def body
  @body
end

#headersObject (readonly)

Returns the value of attribute headers

Returns:

  • (Object)

    the current value of headers



5
6
7
# File 'lib/notion/transport.rb', line 5

def headers
  @headers
end

#idempotentObject (readonly)

Returns the value of attribute idempotent

Returns:

  • (Object)

    the current value of idempotent



5
6
7
# File 'lib/notion/transport.rb', line 5

def idempotent
  @idempotent
end

#pathObject (readonly)

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



5
6
7
# File 'lib/notion/transport.rb', line 5

def path
  @path
end

#queryObject (readonly)

Returns the value of attribute query

Returns:

  • (Object)

    the current value of query



5
6
7
# File 'lib/notion/transport.rb', line 5

def query
  @query
end

#verbObject (readonly)

Returns the value of attribute verb

Returns:

  • (Object)

    the current value of verb



5
6
7
# File 'lib/notion/transport.rb', line 5

def verb
  @verb
end

Instance Method Details

#idempotent?Boolean

Returns:

  • (Boolean)


6
# File 'lib/notion/transport.rb', line 6

def idempotent? = idempotent