Class: LinkedIn::Position
Defined Under Namespace
Classes: Resource
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from LinkedIn::Base
Instance Method Details
#positions ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/linked_in/position.rb', line 4 def positions @arry ||= begin @arry = [] @doc.children.each do |position| @arry << Resource.new(position) unless position.blank? end @arry end end |