Sha256: 269044b3c2f4a20cecd4cc0af2f8d5c9cd4d735d510a96772f17e0ae8411c15b
Contents?: true
Size: 1.1 KB
Versions: 8
Compression:
Stored size: 1.1 KB
Contents
module GenesisRuby module Api module Mixins module Requests module Financial module Cards # Tokenization Attributes mixin module TokenizationAttributes attr_reader :remember_card attr_accessor :consumer_id, :token # Tokenizes cardholder parameters. Cannot be set together with token def remember_card=(value) allowed_options attribute: __method__, allowed: [true, false], value: value, allow_empty: true, error_message: 'Accepts only boolean values' end protected # Tokenization Attributes Structure def tokenization_attributes_structure { token: token, consumer_id: consumer_id, remember_card: remember_card } end end end end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems