Class: ArcREST::Catalog

Inherits:
Server
  • Object
show all
Defined in:
lib/arcrest/catalog.rb

Overview

a catalog of services

Constant Summary

Constants inherited from Server

Server::BAD_ENDPOINT, Server::ENDPOINT_REGEX

Constants included from Curlable

Curlable::RETRIES

Instance Attribute Summary collapse

Attributes inherited from Server

#json, #url, #version

Instance Method Summary collapse

Methods included from Curlable

#curl_get

Constructor Details

#initialize(url, headers = {}) ⇒ Catalog

Returns a new instance of Catalog.



8
9
10
11
12
# File 'lib/arcrest/catalog.rb', line 8

def initialize(url, headers = {})
  super
  @folders = folders_
  @services = services_
end

Instance Attribute Details

#foldersObject (readonly)

Returns the value of attribute folders.



6
7
8
# File 'lib/arcrest/catalog.rb', line 6

def folders
  @folders
end

#servicesObject (readonly)

Returns the value of attribute services.



6
7
8
# File 'lib/arcrest/catalog.rb', line 6

def services
  @services
end