Module: ActiveInteraction

Defined in:
lib/mtk_framework/gem_extensions/active_interaction/filters/hash_filter.rb,
lib/mtk_framework/gem_extensions/active_interaction/base.rb,
lib/mtk_framework/gem_extensions/active_interaction/filters/tz_account_filter.rb,
lib/mtk_framework/gem_extensions/active_interaction/filters/abstract_tz_filter.rb,
lib/mtk_framework/gem_extensions/active_interaction/filters/tz_operation_filter.rb,
lib/mtk_framework/gem_extensions/active_interaction/filters/tz_signature_filter.rb,
lib/mtk_framework/gem_extensions/active_interaction/filters/tz_public_key_filter.rb,
lib/mtk_framework/gem_extensions/active_interaction/filters/tz_secret_key_filter.rb,
lib/mtk_framework/gem_extensions/active_interaction/filters/tz_contract_address_filter.rb

Overview

credits to : github.com/formigarafa/active_interaction/pull/2 This allows to import_filters inside hash. Example : hash :user do

import_filters UserSignup

end

Defined Under Namespace

Classes: AbstractTzFilter, Base, HashFilter, TzAccountFilter, TzContractAddressFilter, TzOperationFilter, TzPublicKeyFilter, TzSecretKeyFilter, TzSignatureFilter

Class Method Summary collapse

Class Method Details

.tz_operation(*attributes, options = {}) ⇒ Object

Creates accessors for the attributes and ensures that values passed to

the attributes are Strings.

Examples:

tz_operation :operation


# File 'lib/mtk_framework/gem_extensions/active_interaction/filters/tz_operation_filter.rb', line 5

.tz_public_key(*attributes, options = {}) ⇒ Object

Creates accessors for the attributes and ensures that values passed to

the attributes are Strings.

Examples:

tz_public_key :public_key


# File 'lib/mtk_framework/gem_extensions/active_interaction/filters/tz_account_filter.rb', line 5

.tz_secret_key(*attributes, options = {}) ⇒ Object

Creates accessors for the attributes and ensures that values passed to

the attributes are Strings.

Examples:

tz_secret_key :secret_key


# File 'lib/mtk_framework/gem_extensions/active_interaction/filters/tz_secret_key_filter.rb', line 5

.tz_signature(*attributes, options = {}) ⇒ Object

Creates accessors for the attributes and ensures that values passed to

the attributes are Strings.

Examples:

tz_signature :signature


# File 'lib/mtk_framework/gem_extensions/active_interaction/filters/tz_signature_filter.rb', line 5