class Fastly::DictionaryItem

def self.delete_path(obj)

def self.delete_path(obj)
  put_path(obj)
end

def self.get_path(service, dictionary_id, item_key, _opts = {})

def self.get_path(service, dictionary_id, item_key, _opts = {})
  "/service/#{service}/dictionary/#{dictionary_id}/item/#{CGI::escape(item_key)}"
end

def self.list_path(opts = {})

def self.list_path(opts = {})
  "/service/#{opts[:service_id]}/dictionary/#{opts[:dictionary_id]}/items"
end

def self.post_path(opts)

def self.post_path(opts)
  "/service/#{opts[:service_id]}/dictionary/#{opts[:dictionary_id]}/item"
end

def self.put_path(obj)

def self.put_path(obj)
  get_path(obj.service_id, obj.dictionary_id, obj.item_key)
end

def as_hash

:nodoc:
def as_hash
  super.delete_if { |var| %w(service_id dictionary_id).include?(var) }
end

def service

Return the Service object this belongs to
def service
  @service ||= fetcher.get(Service, service_id)
end