Sha256: 73a8a6fe64456c0b517206fa6f972fe537c562224e5dab2d1cf1c30f9958d6ae

Contents?: true

Size: 1.04 KB

Versions: 10

Compression:

Stored size: 1.04 KB

Contents

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/follows'
    require 'angellist_api/client/reviews'
    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::Follows
    include AngellistApi::Client::Reviews
    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

10 entries across 10 versions & 1 rubygems

Version Path
angellist_api-0.1.0 lib/angellist_api/client.rb
angellist_api-0.0.9 lib/angellist_api/client.rb
angellist_api-0.0.8 lib/angellist_api/client.rb
angellist_api-0.0.7 lib/angellist_api/client.rb
angellist_api-0.0.6 lib/angellist_api/client.rb
angellist_api-0.0.5 lib/angellist_api/client.rb
angellist_api-0.0.4 lib/angellist_api/client.rb
angellist_api-0.0.3 lib/angellist_api/client.rb
angellist_api-0.0.2 lib/angellist_api/client.rb
angellist_api-0.0.1 lib/angellist_api/client.rb