Module: Sheep
- Defined in:
- lib/sheep.rb,
lib/sheep/user.rb,
lib/sheep/error.rb,
lib/sheep/version.rb,
lib/sheep/activity.rb
Defined Under Namespace
Classes: Activity, BadRequest, Error, ErrorResponse, NotFound, UnknownError, User
Constant Summary collapse
- VERSION =
"0.1.1"
Class Attribute Summary collapse
-
.access_token ⇒ Object
Returns the value of attribute access_token.
-
.client_id ⇒ Object
Returns the value of attribute client_id.
-
.client_secret ⇒ Object
Returns the value of attribute client_secret.
Class Method Summary collapse
Class Attribute Details
.access_token ⇒ Object
Returns the value of attribute access_token.
13 14 15 |
# File 'lib/sheep.rb', line 13 def access_token @access_token end |
.client_id ⇒ Object
Returns the value of attribute client_id.
13 14 15 |
# File 'lib/sheep.rb', line 13 def client_id @client_id end |
.client_secret ⇒ Object
Returns the value of attribute client_secret.
13 14 15 |
# File 'lib/sheep.rb', line 13 def client_secret @client_secret end |
Class Method Details
.connection ⇒ Object
15 16 17 18 19 20 |
# File 'lib/sheep.rb', line 15 def connection @connection ||= Apis::Connection.new(:uri => 'http://api-tuppy-com.heroku.com/') do use Sheep::ErrorResponse use Apis::Middleware::Response::Json end end |