Class: OnyxMesh::Key::Query

Inherits:
Query
  • Object
show all
Defined in:
lib/onyx_mesh/key.rb

Instance Method Summary collapse

Instance Method Details

#fetch(query) ⇒ Object



34
35
36
# File 'lib/onyx_mesh/key.rb', line 34

def fetch(query)
  client.session.request('list-keys', query)
end

#translate(obj) ⇒ Object



38
39
40
# File 'lib/onyx_mesh/key.rb', line 38

def translate(obj)
  Key.new(obj)
end