Sha256: 6c39cad1e2a80310c1ce2ce536f771b5dddf78ace635320806bad1a620e7679e

Contents?: true

Size: 704 Bytes

Versions: 1

Compression:

Stored size: 704 Bytes

Contents

module Adyen
  module SkinBuilder
    module Helper
      module Adyen

        # start the adyen form, if no block padded payment fields are auto included
        def adyen_form_tag(&block)
          buffer << render_partial(:adyen_form, :views => settings.views, :block => block)
        end

        # render the payment fields
        def adyen_payment_fields(&block)
          if block_given?
            capture &block
          else
            render_partial :adyen_payment_fields, :views => settings.views
          end
        end

        # to be done
        # def adyen_custom_field_tag
        # end
        #
        # def adyen_custom_hidden_tag
        # end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
adyen-skinbuilder-0.3.0 lib/adyen-skinbuilder/helper/adyen.rb