Sha256: 33b30428d05c1d93782f523c7add2324dda9f3db8aaf0a2aa3b24651b1440cdb
Contents?: true
Size: 536 Bytes
Versions: 12
Compression:
Stored size: 536 Bytes
Contents
module Wework module Api class Corp < Base include Wework::Cipher attr_reader :suite, :permanent_code def initialize(options={}) @suite = options.delete(:suite) @permanent_code = options.delete(:permanent_code) super(options) end def agent(agent_id) Wework::Api::Agent.new(corp_id: corp_id, agent_id: agent_id, token_store: token_store) end private def token_store @token_store ||= Token::CorpToken.new self end end end end
Version data entries
12 entries across 12 versions & 2 rubygems