Class: Easy::Resources::Redmine::EasyServer
- Inherits:
-
RedmineBase
- Object
- ActiveResource::Base
- Easy::Resource
- RedmineBase
- Easy::Resources::Redmine::EasyServer
- Defined in:
- lib/easy/resources/redmine/easy_server.rb
Instance Method Summary collapse
-
#status ⇒ String
Alias for
server_status
attribute. - #status=(name) ⇒ Object
-
#url ⇒ String
Alias for
host_name
attribute.
Methods inherited from RedmineBase
configure, #errors, get_all, headers, retrieve_total
Methods inherited from Easy::Resource
#becomes, configure, configure_bearer, #patch, #update_column, #update_columns
Instance Method Details
#status ⇒ String
Alias for server_status
attribute
23 24 25 |
# File 'lib/easy/resources/redmine/easy_server.rb', line 23 def status server_status end |
#status=(name) ⇒ Object
28 29 30 |
# File 'lib/easy/resources/redmine/easy_server.rb', line 28 def status=(name) self.server_status = name end |
#url ⇒ String
Alias for host_name
attribute
17 18 19 |
# File 'lib/easy/resources/redmine/easy_server.rb', line 17 def url host_name end |