Module: Daylife
- Defined in:
- lib/daylife/version.rb,
lib/daylife/base.rb
Overview
:nodoc:
Defined Under Namespace
Modules: VERSION Classes: API, Article, BadRequest, BadResponse, DaylifeError, Image, ObjectNotSupported, Quote, Request, Response, Search, Source, Topic
Class Method Summary collapse
-
.authenticate(accesskey, shared_secret) ⇒ Object
The accesskey and shared_secret are stored within the Daylife::API class where they are used to create the unique signature for each call.
Class Method Details
.authenticate(accesskey, shared_secret) ⇒ Object
The accesskey and shared_secret are stored within the Daylife::API class where they are used to create the unique signature for each call.
16 17 18 19 |
# File 'lib/daylife/base.rb', line 16 def self.authenticate(accesskey, shared_secret) API.auth[:accesskey] = accesskey API.auth[:shared_secret] = shared_secret end |