Sha256: e57a048517f1901d024da75864215521ba2495e1a0b0bb758ef98ddc61ab2b07

Contents?: true

Size: 1.14 KB

Versions: 3

Compression:

Stored size: 1.14 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/activity_feeds'
    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::ActivityFeeds
    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

3 entries across 3 versions & 1 rubygems

Version Path
angellist_api-1.0.1 lib/angellist_api/client.rb
angellist_api-0.1.2 lib/angellist_api/client.rb
angellist_api-1.0.0 lib/angellist_api/client.rb