Class: PrintReleaf::Forestry::Project
- Defined in:
- lib/printreleaf/forestry/project.rb
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
Methods inherited from Resource
action, actions, #changes, #compact_inspect, #delete, #deleted?, #find, #initialize, #inspect, path, #reset, #to_s, #uri, uri
Constructor Details
This class inherits a constructor from PrintReleaf::Resource
Instance Method Details
#active? ⇒ Boolean
20 21 22 |
# File 'lib/printreleaf/forestry/project.rb', line 20 def active? status == "active" end |
#inactive? ⇒ Boolean
24 25 26 |
# File 'lib/printreleaf/forestry/project.rb', line 24 def inactive? status == "inactive" end |