Class: Fastly::Token

Inherits:
Base
  • Object
show all
Defined in:
lib/fastly/token.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#fetcher

Method Summary

Methods inherited from Base

#as_hash, #delete!, #initialize, list_path, path, put_path, #require_api_key!, #save!

Constructor Details

This class inherits a constructor from Fastly::Base

Instance Attribute Details

#access_tokenObject

Returns the value of attribute access_token.



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

def access_token
  @access_token
end

#created_atObject

Returns the value of attribute created_at.



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

def created_at
  @created_at
end

#expires_atObject

Returns the value of attribute expires_at.



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

def expires_at
  @expires_at
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#ipObject

Returns the value of attribute ip.



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

def ip
  @ip
end

#last_used_atObject

Returns the value of attribute last_used_at.



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

def last_used_at
  @last_used_at
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#scopeObject

Returns the value of attribute scope.



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

def scope
  @scope
end

#servicesObject

Returns the value of attribute services.



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

def services
  @services
end

#user_agentObject

Returns the value of attribute user_agent.



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

def user_agent
  @user_agent
end

#user_idObject

Returns the value of attribute user_id.



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

def user_id
  @user_id
end