Class: Phabulous::Paste

Inherits:
Entity
  • Object
show all
Defined in:
lib/phabulous/paste.rb

Instance Attribute Summary collapse

Attributes inherited from Entity

#phid

Instance Method Summary collapse

Methods inherited from Entity

all, attr_accessor, attributes, #attributes, conduit_name, find, #initialize

Constructor Details

This class inherits a constructor from Phabulous::Entity

Instance Attribute Details

#authorPHIDObject

Returns the value of attribute authorPHID.



5
6
7
# File 'lib/phabulous/paste.rb', line 5

def authorPHID
  @authorPHID
end

#contentObject

Returns the value of attribute content.



5
6
7
# File 'lib/phabulous/paste.rb', line 5

def content
  @content
end

#idObject

Returns the value of attribute id.



5
6
7
# File 'lib/phabulous/paste.rb', line 5

def id
  @id
end

#uriObject

Returns the value of attribute uri.



5
6
7
# File 'lib/phabulous/paste.rb', line 5

def uri
  @uri
end

Instance Method Details

#authorObject



7
8
9
# File 'lib/phabulous/paste.rb', line 7

def author
  User.find(@authorPHID)
end