Module: Ecertic::Resource::Statusable

Included in:
OTP::Status, Token::Validation
Defined in:
lib/ecertic/resources/statusable.rb

Constant Summary collapse

MAPPINGS =
{
  sent: "ENVIADO",
  sending_error: "ERROR_ENVIO",
  started: "INICIADO",
  ok: "OTP_OK",
  error: "OTP_NOK",
  signed: "SIGNED",
  sandbox: "SANDBOX",
}.freeze

Instance Attribute Summary collapse

Instance Attribute Details

#statusObject

Returns the value of attribute status.



19
20
21
# File 'lib/ecertic/resources/statusable.rb', line 19

def status
  @status
end