Class: Istox::BlockchainReceipt

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/istox/models/blockchain_receipt.rb

Instance Method Summary collapse

Instance Method Details

#activityObject



6
7
8
9
10
# File 'lib/istox/models/blockchain_receipt.rb', line 6

def activity
  if resource_name.present? && resource_action.present?
    I18n.t("#{resource_name}.#{resource_action}")
  end
end