Module: Montage::Client::Schemas
- Included in:
- Montage::Client
- Defined in:
- lib/montage/client/schemas.rb
Instance Method Summary collapse
-
#schema(name) ⇒ Object
Public: Get a single schema.
-
#schemas ⇒ Object
Public: Get a list of schemas.
Instance Method Details
#schema(name) ⇒ Object
Public: Get a single schema
Returns a Montage::Response
14 15 16 |
# File 'lib/montage/client/schemas.rb', line 14 def schema(name) get("schemas/#{name}/", "schema") end |
#schemas ⇒ Object
Public: Get a list of schemas
Returns a Montage::Response
7 8 9 |
# File 'lib/montage/client/schemas.rb', line 7 def schemas get("schemas/", "schema") end |