Class: Fiscalizer::Serializers::Base
- Inherits:
-
Object
- Object
- Fiscalizer::Serializers::Base
- Includes:
- Constants
- Defined in:
- lib/fiscalizer/serializers/base.rb
Constant Summary
Constants included from Constants
Constants::DEMO_CERT_ISSUER, Constants::DEMO_URL, Constants::PROD_CERT_ISSUER, Constants::PROD_URL, Constants::SCHEMA_LOCATION, Constants::TNS, Constants::XSI
Instance Attribute Summary collapse
-
#demo ⇒ Object
readonly
Returns the value of attribute demo.
-
#object ⇒ Object
readonly
Returns the value of attribute object.
-
#private_key ⇒ Object
readonly
Returns the value of attribute private_key.
-
#public_key ⇒ Object
readonly
Returns the value of attribute public_key.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(object, private_key, public_key, demo) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(object, private_key, public_key, demo) ⇒ Base
Returns a new instance of Base.
6 7 8 9 10 11 |
# File 'lib/fiscalizer/serializers/base.rb', line 6 def initialize(object, private_key, public_key, demo) @object = object @private_key = private_key @public_key = public_key @demo = demo end |
Instance Attribute Details
#demo ⇒ Object (readonly)
Returns the value of attribute demo.
13 14 15 |
# File 'lib/fiscalizer/serializers/base.rb', line 13 def demo @demo end |
#object ⇒ Object (readonly)
Returns the value of attribute object.
13 14 15 |
# File 'lib/fiscalizer/serializers/base.rb', line 13 def object @object end |
#private_key ⇒ Object (readonly)
Returns the value of attribute private_key.
13 14 15 |
# File 'lib/fiscalizer/serializers/base.rb', line 13 def private_key @private_key end |
#public_key ⇒ Object (readonly)
Returns the value of attribute public_key.
13 14 15 |
# File 'lib/fiscalizer/serializers/base.rb', line 13 def public_key @public_key end |
Instance Method Details
#call ⇒ Object
15 16 17 |
# File 'lib/fiscalizer/serializers/base.rb', line 15 def call sign_xml end |