Method: Crunchbase::Model::Entity#fetch

Defined in:
lib/crunchbase/model/entity.rb

#fetchObject



50
51
52
53
54
55
# File 'lib/crunchbase/model/entity.rb', line 50

def fetch
  fetch_object = get_fetch_object
  return [] if fetch_object.empty?

  fetch_object[0].new Crunchbase::API.fetch(permalink, fetch_object[1])
end