Class: Fastly::Dictionary

Inherits:
BelongsToServiceAndVersion show all
Defined in:
lib/fastly/dictionary.rb

Instance Attribute Summary collapse

Attributes inherited from BelongsToServiceAndVersion

#version

Attributes inherited from Base

#fetcher

Class Method Summary collapse

Methods inherited from BelongsToServiceAndVersion

#as_hash, delete_path, get_path, path_escape, post_path, put_path, #service, #version_number

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

#idObject

Returns the value of attribute id.



3
4
5
# File 'lib/fastly/dictionary.rb', line 3

def id
  @id
end

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/fastly/dictionary.rb', line 3

def name
  @name
end

#service_idObject

Returns the value of attribute service_id.



3
4
5
# File 'lib/fastly/dictionary.rb', line 3

def service_id
  @service_id
end

Class Method Details

.pluralizeObject



5
6
7
# File 'lib/fastly/dictionary.rb', line 5

def self.pluralize
  'dictionaries'
end