Sha256: 3bd41e5ac5b7d9bafd5fae0155f89b73a270acf084a11439a543b962f0dec4d8
Contents?: true
Size: 456 Bytes
Versions: 2
Compression:
Stored size: 456 Bytes
Contents
require_relative 'base' module Amsi module Model class GuestCardResult < Base module Status FAILURE = 'FAILURE'.freeze SUCCESS = 'SUCCESS'.freeze end string_attrs *%i[ guest_card_id property_id status ] integer_attrs :contact_seq_no alias_method :contact_sequence_number, :contact_seq_no def success? status == Status::SUCCESS end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
amsi-1.0.1 | lib/amsi/model/guest_card_result.rb |
amsi-1.0.0 | lib/amsi/model/guest_card_result.rb |