Class: Workarea::Emarsys::SalesDataGateway
- Inherits:
-
Object
- Object
- Workarea::Emarsys::SalesDataGateway
- Defined in:
- app/lib/workarea/emarsys/sales_data_gateway.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#secret_key ⇒ Object
readonly
Returns the value of attribute secret_key.
Instance Method Summary collapse
-
#initialize(secret_key, options = {}) ⇒ SalesDataGateway
constructor
A new instance of SalesDataGateway.
- #send_file(file) ⇒ Object
Constructor Details
#initialize(secret_key, options = {}) ⇒ SalesDataGateway
Returns a new instance of SalesDataGateway.
6 7 8 9 |
# File 'app/lib/workarea/emarsys/sales_data_gateway.rb', line 6 def initialize(secret_key, = {}) @secret_key = secret_key @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
4 5 6 |
# File 'app/lib/workarea/emarsys/sales_data_gateway.rb', line 4 def @options end |
#secret_key ⇒ Object (readonly)
Returns the value of attribute secret_key.
4 5 6 |
# File 'app/lib/workarea/emarsys/sales_data_gateway.rb', line 4 def secret_key @secret_key end |