Sha256: 080f029d283605b3cd5143ced887704be468e17f680e1b776bfeb9b461cc2fbe

Contents?: true

Size: 964 Bytes

Versions: 11

Compression:

Stored size: 964 Bytes

Contents

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

module GenesisRuby
  module Api
    module Mixins
      module Requests
        module Financial
          module Cards
            module Recurring
              # Recurring Category Attributes
              module RecurringCategoryAttributes

                attr_reader :recurring_category

                # Specifies whether the recurring transaction is a subscription or standing order
                def recurring_category=(value)
                  allowed_options attribute:   __method__,
                                  allowed:     GenesisRuby::Api::Constants::Transactions::Parameters::Recurring::
                                      Categories.all,
                                  value:       value,
                                  allow_empty: true
                end

              end
            end
          end
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
genesis_ruby-0.2.0 lib/genesis_ruby/api/mixins/requests/financial/cards/recurring/recurring_category_attributes.rb
genesis_ruby-0.1.9 lib/genesis_ruby/api/mixins/requests/financial/cards/recurring/recurring_category_attributes.rb
genesis_ruby-0.1.8 lib/genesis_ruby/api/mixins/requests/financial/cards/recurring/recurring_category_attributes.rb
genesis_ruby-0.1.7 lib/genesis_ruby/api/mixins/requests/financial/cards/recurring/recurring_category_attributes.rb
genesis_ruby-0.1.6 lib/genesis_ruby/api/mixins/requests/financial/cards/recurring/recurring_category_attributes.rb
genesis_ruby-0.1.5 lib/genesis_ruby/api/mixins/requests/financial/cards/recurring/recurring_category_attributes.rb
genesis_ruby-0.1.4 lib/genesis_ruby/api/mixins/requests/financial/cards/recurring/recurring_category_attributes.rb
genesis_ruby-0.1.3 lib/genesis_ruby/api/mixins/requests/financial/cards/recurring/recurring_category_attributes.rb
genesis_ruby-0.1.2 lib/genesis_ruby/api/mixins/requests/financial/cards/recurring/recurring_category_attributes.rb
genesis_ruby-0.1.1 lib/genesis_ruby/api/mixins/requests/financial/cards/recurring/recurring_category_attributes.rb
genesis_ruby-0.1.0 lib/genesis_ruby/api/mixins/requests/financial/cards/recurring/recurring_category_attributes.rb