Class: Strobe::Resources::PlatformInstall
- Inherits:
-
Object
- Object
- Strobe::Resources::PlatformInstall
- Includes:
- Strobe::Resource::Collection
- Defined in:
- lib/strobe/resources/platform_install.rb
Instance Attribute Summary
Attributes included from Strobe::Resource::Base
Instance Method Summary collapse
Methods included from Strobe::Resource::Collection
Methods included from Strobe::Resource::Base
#[], #[]=, #destroy, #initialize, #key?, #merge!, #params, #params=, #persisted?, #save, #save!
Methods included from Validations
#read_attribute_for_validation, #valid_attribute?, #valid_for_given_attributes?
Instance Method Details
#update_uri ⇒ Object
8 9 10 |
# File 'lib/strobe/resources/platform_install.rb', line 8 def update_uri "/platform_installs/#{self[:id]}/pages/configuration" end |
#web? ⇒ Boolean
12 13 14 |
# File 'lib/strobe/resources/platform_install.rb', line 12 def web? self['platform_id'] == 4 end |