Class: Elmas::Project
- Inherits:
-
Object
- Object
- Elmas::Project
- Includes:
- Resource
- Defined in:
- lib/elmas/resources/project.rb
Instance Attribute Summary
Attributes included from Resource
Instance Method Summary collapse
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
7 8 9 |
# File 'lib/elmas/resources/project.rb', line 7 def base_path "project/Projects" end |
#mandatory_attributes ⇒ Object
11 12 13 |
# File 'lib/elmas/resources/project.rb', line 11 def mandatory_attributes %i[account description code type] end |
#other_attributes ⇒ Object
16 17 18 19 20 21 22 23 24 |
# File 'lib/elmas/resources/project.rb', line 16 def other_attributes %i[account account_code AccountContact account_name allow_additional_invoicing block_entry block_rebilling budgeted_amount budgeted_costs budgeted_hours_per_hour_type BudgetedRevenue BudgetType BudgetTypeDescription clasification classification_description code costs_amount_fc created creator creator_full_name customer_p_onumber description division division_name end_date fixed_price_item fixed_price_item_description invoice_as_quoted invoice_terms manager manager_fullname markup_percentage modified modifier modifier_full_name notes prepaid_item prepaid_item_description prepaid_type prepaid_type_description project_restriction_employees project_restriction_items project_restriction_rebillings sales_time_quantity source_quotation start_date time_quantity_to_alert type type_description use_billing_milestones] end |