Class: SiriusApi::Permission

Inherits:
Struct
  • Object
show all
Defined in:
lib/sirius_api/base_authorizer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#http_methodObject

Returns the value of attribute http_method

Returns:

  • (Object)

    the current value of http_method


6
7
8
# File 'lib/sirius_api/base_authorizer.rb', line 6

def http_method
  @http_method
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options


6
7
8
# File 'lib/sirius_api/base_authorizer.rb', line 6

def options
  @options
end

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url


6
7
8
# File 'lib/sirius_api/base_authorizer.rb', line 6

def url
  @url
end

Instance Method Details

#==(other) ⇒ Object


7
8
9
# File 'lib/sirius_api/base_authorizer.rb', line 7

def ==(other)
  http_method == other.http_method && url == other.url
end