Class: Topsy::Author

Inherits:
Hashie::Mash
  • Object
show all
Defined in:
lib/topsy/author.rb

Instance Method Summary collapse

Instance Method Details

#to_sObject



15
16
17
# File 'lib/topsy/author.rb', line 15

def to_s
  "Topsy Author: #{name}, @#{nick}, #{topsy_author_url}"
end

#typeObject



19
20
21
# File 'lib/topsy/author.rb', line 19

def type
  self[:type]
end