Class: Fiscalizer::Fiscalizers::Base
- Inherits:
-
Object
- Object
- Fiscalizer::Fiscalizers::Base
- Defined in:
- lib/fiscalizer/fiscalizers/base.rb
Instance Attribute Summary collapse
-
#app_cert_path ⇒ Object
readonly
Returns the value of attribute app_cert_path.
-
#ca_cert_path ⇒ Object
readonly
Returns the value of attribute ca_cert_path.
-
#demo ⇒ Object
readonly
Returns the value of attribute demo.
-
#object ⇒ Object
readonly
Returns the value of attribute object.
-
#password ⇒ Object
readonly
Returns the value of attribute password.
-
#timeout ⇒ Object
readonly
Returns the value of attribute timeout.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(app_cert_path, password, timeout, demo, ca_cert_path, object) ⇒ Base
constructor
rubocop:disable Metrics/ParameterLists.
Constructor Details
#initialize(app_cert_path, password, timeout, demo, ca_cert_path, object) ⇒ Base
rubocop:disable Metrics/ParameterLists
5 6 7 8 9 10 11 12 |
# File 'lib/fiscalizer/fiscalizers/base.rb', line 5 def initialize(app_cert_path, password, timeout, demo, ca_cert_path, object) @app_cert_path = app_cert_path @password = password @timeout = timeout @demo = demo @ca_cert_path = ca_cert_path @object = object end |
Instance Attribute Details
#app_cert_path ⇒ Object (readonly)
Returns the value of attribute app_cert_path.
14 15 16 |
# File 'lib/fiscalizer/fiscalizers/base.rb', line 14 def app_cert_path @app_cert_path end |
#ca_cert_path ⇒ Object (readonly)
Returns the value of attribute ca_cert_path.
14 15 16 |
# File 'lib/fiscalizer/fiscalizers/base.rb', line 14 def ca_cert_path @ca_cert_path end |
#demo ⇒ Object (readonly)
Returns the value of attribute demo.
14 15 16 |
# File 'lib/fiscalizer/fiscalizers/base.rb', line 14 def demo @demo end |
#object ⇒ Object (readonly)
Returns the value of attribute object.
14 15 16 |
# File 'lib/fiscalizer/fiscalizers/base.rb', line 14 def object @object end |
#password ⇒ Object (readonly)
Returns the value of attribute password.
14 15 16 |
# File 'lib/fiscalizer/fiscalizers/base.rb', line 14 def password @password end |
#timeout ⇒ Object (readonly)
Returns the value of attribute timeout.
14 15 16 |
# File 'lib/fiscalizer/fiscalizers/base.rb', line 14 def timeout @timeout end |
Instance Method Details
#call ⇒ Object
16 17 18 19 |
# File 'lib/fiscalizer/fiscalizers/base.rb', line 16 def call # check_echo send_request end |