Class: Hop::Request

Inherits:
Struct
  • Object
show all
Defined in:
lib/hop/endpoint.rb

Overview

An inbound service request. from is the cryptographically verified sender identity (base58).

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#argsObject

Returns the value of attribute args

Returns:

  • (Object)

    the current value of args



9
10
11
# File 'lib/hop/endpoint.rb', line 9

def args
  @args
end

#fromObject

Returns the value of attribute from

Returns:

  • (Object)

    the current value of from



9
10
11
# File 'lib/hop/endpoint.rb', line 9

def from
  @from
end

#from_bytesObject

Returns the value of attribute from_bytes

Returns:

  • (Object)

    the current value of from_bytes



9
10
11
# File 'lib/hop/endpoint.rb', line 9

def from_bytes
  @from_bytes
end

#methodObject

Returns the value of attribute method

Returns:

  • (Object)

    the current value of method



9
10
11
# File 'lib/hop/endpoint.rb', line 9

def method
  @method
end

#serviceObject

Returns the value of attribute service

Returns:

  • (Object)

    the current value of service



9
10
11
# File 'lib/hop/endpoint.rb', line 9

def service
  @service
end

Instance Method Details

#textObject



10
# File 'lib/hop/endpoint.rb', line 10

def text = args