Class: Elmas::Transaction
- Inherits:
-
Object
- Object
- Elmas::Transaction
- Includes:
- Resource
- Defined in:
- lib/elmas/resources/transaction.rb
Instance Attribute Summary
Attributes included from Resource
Instance Method Summary collapse
- #base_path ⇒ Object
- #mandatory_attributes ⇒ Object
- #other_attributes ⇒ Object
- #valid_actions ⇒ Object
Methods included from Resource
#delete, #find, #find_all, #find_by, #get, #id, #id?, #initialize, #method_missing, #save, #valid?
Methods included from Resource::Sanitizer
#sanitize, #sanitize_date_time, #sanitize_has_many, #sanitize_relationship
Methods included from Resource::UriMethods
#apply_filters, #apply_order, #apply_select, #base_filter, #basic_identifier_uri, #query_attribute, #sanitize_value, #uri
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Elmas::Resource
Instance Method Details
#base_path ⇒ Object
11 12 13 |
# File 'lib/elmas/resources/transaction.rb', line 11 def base_path "financialtransaction/Transactions" end |
#mandatory_attributes ⇒ Object
15 16 17 |
# File 'lib/elmas/resources/transaction.rb', line 15 def mandatory_attributes [] end |
#other_attributes ⇒ Object
19 20 21 |
# File 'lib/elmas/resources/transaction.rb', line 19 def other_attributes %i[description] end |
#valid_actions ⇒ Object
7 8 9 |
# File 'lib/elmas/resources/transaction.rb', line 7 def valid_actions %i[get] end |