Module: PhoneGap::Build::Creatable
- Included in:
- RestResource
- Defined in:
- lib/phone_gap/build/creatable.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
8 9 10 |
# File 'lib/phone_gap/build/creatable.rb', line 8 def self.included(base) base.extend(ClassMethods) end |
Instance Method Details
#creatable_attributes ⇒ Object
12 13 14 |
# File 'lib/phone_gap/build/creatable.rb', line 12 def creatable_attributes self.class.class_variable_get('@@creatable_attributes')[self.class] end |
#updatable_attributes ⇒ Object
16 17 18 |
# File 'lib/phone_gap/build/creatable.rb', line 16 def updatable_attributes self.class.class_variable_get('@@updatable_attributes')[self.class] end |