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::REGEX

Instance Attribute Summary collapse

Attributes inherited from Server

#json, #url, #version

Instance Method Summary collapse

Constructor Details

#initialize(url) ⇒ Catalog

Returns a new instance of Catalog.



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

def initialize(url)
  super
  @folders = folders_
  @services = services_
end

Instance Attribute Details

#foldersObject (readonly)

Returns the value of attribute folders.



4
5
6
# File 'lib/arcrest/catalog.rb', line 4

def folders
  @folders
end

#servicesObject (readonly)

Returns the value of attribute services.



4
5
6
# File 'lib/arcrest/catalog.rb', line 4

def services
  @services
end