Sha256: 71d27da841f183f614b2c27359a037cfef54906701bb0eb984b88ca3731a87f6
Contents?: true
Size: 486 Bytes
Versions: 3
Compression:
Stored size: 486 Bytes
Contents
class Enceladus::GuestAccount attr_reader :session_id # Initiaises a guest account. # This method hits the following api endpoint: # - https://api.themoviedb.org/3/authentication/guest_session/new # # For more information about guest accounts, check out http://docs.themoviedb.apiary.io/ SECTION: Authentication def initialize self.session_id = Enceladus::Requester.get("authentication/guest_session/new").guest_session_id end private attr_writer :session_id end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
enceladus-0.0.4 | lib/enceladus/models/guest_account.rb |
enceladus-0.0.3 | lib/enceladus/models/guest_account.rb |
enceladus-0.0.2 | lib/enceladus/models/guest_account.rb |