Class: PrintReleaf::Feed
- Defined in:
- lib/printreleaf/feed.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
#account ⇒ Object
27 28 29 |
# File 'lib/printreleaf/feed.rb', line 27 def account @account ||= Account.find(account_id) end |
#server ⇒ Object
31 32 33 34 |
# File 'lib/printreleaf/feed.rb', line 31 def server return nil if server_id.nil? @server ||= Server.find(server_id) end |