module ZanoxPublisher
Constants
- VERSION
Attributes
connect_id[RW]
secret_key[RW]
Public Class Methods
authenticate(connect_id, secret_key)
click to toggle source
Setup connect ID and secret key for ZanoxPublisher
. The connect ID and secret key will be used for all subsequent requests.
@param connect_id
[String] The connect ID of your account for authentication @param secret_key
[String] The secret key of your account for authentication
@example
ZanoxPublisher::authenticate("<your_client_id>", "<your_client_secret>") ZanoxPublisher::Profile.first #=> <Profile>
# File lib/zanox_publisher.rb, line 35 def authenticate(connect_id, secret_key) @connect_id, @secret_key = connect_id, secret_key end