Module: LattaEndpoints
- Defined in:
- lib/latta/consts.rb
Constant Summary collapse
- LATTA_PUT_INSTANCE =
'instance/backend'
- LATTA_PUT_SNAPSHOT =
'snapshot/%s'
- LATTA_PUT_SNAPSHOT_ATTACHMENT =
'snapshot/%s/attachment'
Class Method Summary collapse
Class Method Details
.put_snapshot(snapshot_id) ⇒ Object
11 12 13 |
# File 'lib/latta/consts.rb', line 11 def self.put_snapshot(snapshot_id) format(LATTA_PUT_SNAPSHOT, snapshot_id) end |
.put_snapshot_attachment(snapshot_id) ⇒ Object
15 16 17 |
# File 'lib/latta/consts.rb', line 15 def self.(snapshot_id) format(LATTA_PUT_SNAPSHOT_ATTACHMENT, snapshot_id) end |