Class: GnipApi::Adapters::BaseAdapter
- Inherits:
-
Object
- Object
- GnipApi::Adapters::BaseAdapter
- Defined in:
- lib/gnip_api/adapters/base_adapter.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#create_response(request, status, body, headers) ⇒ Object
54 55 56 |
# File 'lib/gnip_api/adapters/base_adapter.rb', line 54 def create_response request, status, body, headers GnipApi::Response.new request, status, body, headers end |
#password ⇒ Object
50 51 52 |
# File 'lib/gnip_api/adapters/base_adapter.rb', line 50 def password GnipApi.configuration.password end |
#username ⇒ Object
46 47 48 |
# File 'lib/gnip_api/adapters/base_adapter.rb', line 46 def username GnipApi.configuration.user end |