Sha256: 81d233cf1c82456a577235c0fa46fa5ee147e04fc0ee899812c598f1200572c4

Contents?: true

Size: 902 Bytes

Versions: 5

Compression:

Stored size: 902 Bytes

Contents

require 'genesis_ruby/api/constants/transactions/parameters/recurring/types'

module GenesisRuby
  module Api
    module Mixins
      module Requests
        module Financial
          module Cards
            module Recurring
              # Recurring Type Attributes
              module RecurringTypeAttributes

                attr_reader :recurring_type

                # Specifies the recurring type of transaction
                def recurring_type=(value)
                  allowed_options attribute:   __method__,
                                  allowed:     GenesisRuby::Api::Constants::Transactions::Parameters::Recurring::
                                      Types.all,
                                  value:       value,
                                  allow_empty: true
                end

              end
            end
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
genesis_ruby-0.1.4 lib/genesis_ruby/api/mixins/requests/financial/cards/recurring/recurring_type_attributes.rb
genesis_ruby-0.1.3 lib/genesis_ruby/api/mixins/requests/financial/cards/recurring/recurring_type_attributes.rb
genesis_ruby-0.1.2 lib/genesis_ruby/api/mixins/requests/financial/cards/recurring/recurring_type_attributes.rb
genesis_ruby-0.1.1 lib/genesis_ruby/api/mixins/requests/financial/cards/recurring/recurring_type_attributes.rb
genesis_ruby-0.1.0 lib/genesis_ruby/api/mixins/requests/financial/cards/recurring/recurring_type_attributes.rb