Class: Fastly::Customer

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

Overview

A Customer account

Instance Attribute Summary collapse

Attributes inherited from Base

#fetcher

Instance Method Summary collapse

Methods inherited from Base

#as_hash, #delete!, delete_path, get_path, #initialize, list_path, path, post_path, put_path, #require_api_key!, #save!

Constructor Details

This class inherits a constructor from Fastly::Base

Instance Attribute Details

#billing_contact_idObject

Returns the value of attribute billing_contact_id.



4
5
6
# File 'lib/fastly/customer.rb', line 4

def billing_contact_id
  @billing_contact_id
end

#idObject

Returns the value of attribute id.



4
5
6
# File 'lib/fastly/customer.rb', line 4

def id
  @id
end

Returns the value of attribute legal_contact_id.



4
5
6
# File 'lib/fastly/customer.rb', line 4

def legal_contact_id
  @legal_contact_id
end

#nameObject

Returns the value of attribute name.



4
5
6
# File 'lib/fastly/customer.rb', line 4

def name
  @name
end

#owner_idObject

Returns the value of attribute owner_id.



4
5
6
# File 'lib/fastly/customer.rb', line 4

def owner_id
  @owner_id
end

#security_contact_idObject

Returns the value of attribute security_contact_id.



4
5
6
# File 'lib/fastly/customer.rb', line 4

def security_contact_id
  @security_contact_id
end

#technical_contact_idObject

Returns the value of attribute technical_contact_id.



4
5
6
# File 'lib/fastly/customer.rb', line 4

def technical_contact_id
  @technical_contact_id
end

Instance Method Details

#billing_contactObject

The billing contact as a Fastly::User



44
45
46
# File 'lib/fastly/customer.rb', line 44

def billing_contact
  get_user billing_contact_id
end

The legal contact as a Fastly::User



50
51
52
# File 'lib/fastly/customer.rb', line 50

def legal_contact
  get_user legal_contact_id
end

#ownerObject

The account owner as a Fastly::User



56
57
58
# File 'lib/fastly/customer.rb', line 56

def owner
  get_user owner_id
end

#security_contactObject

The security contact as a Fastly::User



62
63
64
# File 'lib/fastly/customer.rb', line 62

def security_contact
  get_user security_contact_id
end

#technical_contactObject

The technical contact as a Fastly::User



68
69
70
# File 'lib/fastly/customer.rb', line 68

def technical_contact
  get_user technical_contact_id
end