Class: Teams::Api::TokenResponse

Inherits:
Model
  • Object
show all
Defined in:
lib/teams/api/token.rb

Instance Attribute Summary

Attributes inherited from Model

#raw

Instance Method Summary collapse

Methods inherited from Model

#initialize, #to_h

Constructor Details

This class inherits a constructor from Teams::Api::Model

Instance Method Details

#channel_idObject



6
7
8
# File 'lib/teams/api/token.rb', line 6

def channel_id
  read("channelId", "channel_id")
end

#connection_nameObject



10
11
12
# File 'lib/teams/api/token.rb', line 10

def connection_name
  read("connectionName", "connection_name")
end

#expirationObject



18
19
20
# File 'lib/teams/api/token.rb', line 18

def expiration
  read("expiration")
end

#propertiesObject



22
23
24
# File 'lib/teams/api/token.rb', line 22

def properties
  read("properties")
end

#tokenObject



14
15
16
# File 'lib/teams/api/token.rb', line 14

def token
  read("token")
end