Class: StripeModelCallbacks::EventMockerService
- Inherits:
-
Object
- Object
- StripeModelCallbacks::EventMockerService
- Defined in:
- app/services/stripe_model_callbacks/event_mocker_service.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#scope ⇒ Object
readonly
Returns the value of attribute scope.
Instance Method Summary collapse
-
#initialize(args:, name:, scope:) ⇒ EventMockerService
constructor
A new instance of EventMockerService.
Constructor Details
#initialize(args:, name:, scope:) ⇒ EventMockerService
Returns a new instance of EventMockerService.
4 5 6 7 8 9 10 11 |
# File 'app/services/stripe_model_callbacks/event_mocker_service.rb', line 4 def initialize(args:, name:, scope:) @args = args @name = name @scope = scope bypass_event_signature(payload) post_event end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
2 3 4 |
# File 'app/services/stripe_model_callbacks/event_mocker_service.rb', line 2 def args @args end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
2 3 4 |
# File 'app/services/stripe_model_callbacks/event_mocker_service.rb', line 2 def name @name end |
#scope ⇒ Object (readonly)
Returns the value of attribute scope.
2 3 4 |
# File 'app/services/stripe_model_callbacks/event_mocker_service.rb', line 2 def scope @scope end |