Class: Fuselage::AnonymousApi

Inherits:
Api
  • Object
show all
Includes:
HTTParty, Singleton
Defined in:
lib/fuselage/api.rb

Overview

Used for accessing the Github API anonymously

Constant Summary

Constants inherited from Api

Fuselage::Api::MAX_RETRIES, Fuselage::Api::RETRYABLE_STATUS

Instance Attribute Summary

Attributes inherited from Api

#read_only, #token

Instance Method Summary collapse

Methods inherited from Api

api, api=, authenticated, authenticated=, #delete, #get, #post

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Fuselage::Api

Instance Method Details

#auth_parametersObject



19
20
21
# File 'lib/fuselage/api.rb', line 19

def auth_parameters
  { }
end

#read_only?Boolean

Returns:

  • (Boolean)


15
16
17
# File 'lib/fuselage/api.rb', line 15

def read_only?
  true
end