Class: Phabulous::Feed

Inherits:
Entity
  • Object
show all
Defined in:
lib/phabulous/feed.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.



4
5
6
# File 'lib/phabulous/feed.rb', line 4

def authorPHID
  @authorPHID
end

#dataObject

Returns the value of attribute data.



4
5
6
# File 'lib/phabulous/feed.rb', line 4

def data
  @data
end

#storyTextObject Also known as: text

Returns the value of attribute storyText.



4
5
6
# File 'lib/phabulous/feed.rb', line 4

def storyText
  @storyText
end

#storyTypeObject Also known as: type

Returns the value of attribute storyType.



4
5
6
# File 'lib/phabulous/feed.rb', line 4

def storyType
  @storyType
end

Instance Method Details

#authorObject



13
14
15
# File 'lib/phabulous/feed.rb', line 13

def author
  User.find(self.authorPHID)
end