Module: Bitly4R
- Defined in:
- lib/bitly4r/client.rb,
lib/bitly4r/objects.rb
Overview
Supporting objects for Bitly4R.
See:
-
Bitly4R::Error
-
Bitly4R::Params
-
Bitly4R::Response
Defined Under Namespace
Classes: Client, Error, Params, Response, SimpleClient, Utility
Class Method Summary collapse
-
.Token(token) ⇒ Object
Constructs a SimpleClient with an Access Token credential.
Class Method Details
.Token(token) ⇒ Object
Constructs a SimpleClient with an Access Token credential
17 18 19 20 |
# File 'lib/bitly4r/definitions.rb', line 17 def Bitly4R.Token(token) # just token Bitly4R::SimpleClient.new(:token => token) end |