Class: RenderRuby::Service

Inherits:
Object
  • Object
show all
Defined in:
lib/render_ruby/objects/service.rb

Constant Summary collapse

TYPES =
%w[static_site web_service private_service background_worker cron_job].freeze

Instance Method Summary collapse

Methods inherited from Object

#initialize, #to_ostruct

Constructor Details

This class inherits a constructor from RenderRuby::Object

Instance Method Details

#auto_deploy_enabled?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/render_ruby/objects/service.rb', line 7

def auto_deploy_enabled?
  autoDeploy.equal?('yes')
end

#suspended?Boolean

Returns:

  • (Boolean)


11
12
13
# File 'lib/render_ruby/objects/service.rb', line 11

def suspended?
  suspended.equal?('suspended')
end