Sha256: 7d59f2991d974901015d1b29eaf9e33832e43c5c7953dcf54634b50fa26d0481

Contents?: true

Size: 1.59 KB

Versions: 6

Compression:

Stored size: 1.59 KB

Contents

require 'cgi'
require 'angellist_api/api'

module AngellistApi
  # Wrapper for the AngellistApi REST API
  #
  # @note All methods have been separated into modules and follow the same
  #   grouping used in {http://angel.co/api the Angellist API Documentation}.
  class Client < API
    # Require client method modules after initializing the Client class in
    # order to avoid a superclass mismatch error, allowing those modules to be
    # Client-namespaced.
    require 'angellist_api/client/activity_feeds'
    require 'angellist_api/client/follows'
    require 'angellist_api/client/jobs'
    require 'angellist_api/client/messages'
    require 'angellist_api/client/paths'
    require 'angellist_api/client/press'
    require 'angellist_api/client/reviews'
    require 'angellist_api/client/search'
    require 'angellist_api/client/startups'
    require 'angellist_api/client/startup_roles'
    require 'angellist_api/client/status_updates'
    require 'angellist_api/client/tags'
    require 'angellist_api/client/users'

    alias :api_endpoint :endpoint

    include AngellistApi::Client::ActivityFeeds
    include AngellistApi::Client::Follows
    include AngellistApi::Client::Jobs
    include AngellistApi::Client::Messages
    include AngellistApi::Client::Paths
    include AngellistApi::Client::Press
    include AngellistApi::Client::Reviews
    include AngellistApi::Client::Search
    include AngellistApi::Client::Startups
    include AngellistApi::Client::StartupRoles
    include AngellistApi::Client::StatusUpdates
    include AngellistApi::Client::Tags
    include AngellistApi::Client::Users
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
angellist_api-1.1.0 lib/angellist_api/client.rb
angellist_api-1.0.7 lib/angellist_api/client.rb
angellist_api-1.0.6 lib/angellist_api/client.rb
angellist_api-1.0.5 lib/angellist_api/client.rb
angellist_api-1.0.4 lib/angellist_api/client.rb
angellist_api-1.0.3 lib/angellist_api/client.rb