Class: Autonoma::HandlerConfig

Inherits:
Struct
  • Object
show all
Defined in:
lib/autonoma/types.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(scope_field:, shared_secret:, signing_secret:, auth:, allow_production: false, sdk: nil, before_down: nil, after_up: nil, factories: nil) ⇒ HandlerConfig

Returns a new instance of HandlerConfig.



42
43
44
45
46
# File 'lib/autonoma/types.rb', line 42

def initialize(scope_field:, shared_secret:, signing_secret:, auth:,
               allow_production: false, sdk: nil,
               before_down: nil, after_up: nil, factories: nil)
  super
end

Instance Attribute Details

#after_upObject

Returns the value of attribute after_up

Returns:

  • (Object)

    the current value of after_up



30
31
32
# File 'lib/autonoma/types.rb', line 30

def after_up
  @after_up
end

#allow_productionObject

Returns the value of attribute allow_production

Returns:

  • (Object)

    the current value of allow_production



30
31
32
# File 'lib/autonoma/types.rb', line 30

def allow_production
  @allow_production
end

#authObject

Returns the value of attribute auth

Returns:

  • (Object)

    the current value of auth



30
31
32
# File 'lib/autonoma/types.rb', line 30

def auth
  @auth
end

#before_downObject

Returns the value of attribute before_down

Returns:

  • (Object)

    the current value of before_down



30
31
32
# File 'lib/autonoma/types.rb', line 30

def before_down
  @before_down
end

#factoriesObject

Returns the value of attribute factories

Returns:

  • (Object)

    the current value of factories



30
31
32
# File 'lib/autonoma/types.rb', line 30

def factories
  @factories
end

#scope_fieldObject

Returns the value of attribute scope_field

Returns:

  • (Object)

    the current value of scope_field



30
31
32
# File 'lib/autonoma/types.rb', line 30

def scope_field
  @scope_field
end

#sdkObject

Returns the value of attribute sdk

Returns:

  • (Object)

    the current value of sdk



30
31
32
# File 'lib/autonoma/types.rb', line 30

def sdk
  @sdk
end

#shared_secretObject

Returns the value of attribute shared_secret

Returns:

  • (Object)

    the current value of shared_secret



30
31
32
# File 'lib/autonoma/types.rb', line 30

def shared_secret
  @shared_secret
end

#signing_secretObject

Returns the value of attribute signing_secret

Returns:

  • (Object)

    the current value of signing_secret



30
31
32
# File 'lib/autonoma/types.rb', line 30

def signing_secret
  @signing_secret
end