Class: Fastly::Customer
Overview
A Customer account
Instance Attribute Summary collapse
-
#billing_contact_id ⇒ Object
Returns the value of attribute billing_contact_id.
-
#id ⇒ Object
Returns the value of attribute id.
-
#legal_contact_id ⇒ Object
Returns the value of attribute legal_contact_id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#owner_id ⇒ Object
Returns the value of attribute owner_id.
-
#security_contact_id ⇒ Object
Returns the value of attribute security_contact_id.
-
#technical_contact_id ⇒ Object
Returns the value of attribute technical_contact_id.
Attributes inherited from Base
Instance Method Summary collapse
-
#billing_contact ⇒ Object
The billing contact as a Fastly::User.
-
#legal_contact ⇒ Object
The legal contact as a Fastly::User.
-
#owner ⇒ Object
The account owner as a Fastly::User.
-
#security_contact ⇒ Object
The security contact as a Fastly::User.
-
#technical_contact ⇒ Object
The technical contact as a Fastly::User.
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_id ⇒ Object
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 |
#id ⇒ Object
Returns the value of attribute id.
4 5 6 |
# File 'lib/fastly/customer.rb', line 4 def id @id end |
#legal_contact_id ⇒ Object
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 |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/fastly/customer.rb', line 4 def name @name end |
#owner_id ⇒ Object
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_id ⇒ Object
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_id ⇒ Object
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_contact ⇒ Object
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 |
#legal_contact ⇒ Object
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 |
#owner ⇒ Object
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_contact ⇒ Object
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_contact ⇒ Object
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 |