Class: PrintReleaf::Feed

Inherits:
Resource
  • Object
show all
Defined in:
lib/printreleaf/feed.rb

Instance Attribute Summary

Attributes inherited from Resource

#copy, #owner

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

#accountObject



27
28
29
# File 'lib/printreleaf/feed.rb', line 27

def 
  @account ||= Account.find()
end

#serverObject



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