Class: Io::Endpoints::Uuids::Search

Inherits:
Object
  • Object
show all
Defined in:
app/api/io/endpoints/uuids/search.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(search) ⇒ Search

Returns a new instance of Search.



7
8
9
# File 'app/api/io/endpoints/uuids/search.rb', line 7

def initialize(search)
  @search = search
end

Class Method Details

.json_field_for(attribute) ⇒ Object



11
12
13
# File 'app/api/io/endpoints/uuids/search.rb', line 11

def self.json_field_for(attribute)
  attribute
end

.model_for_inputObject



3
4
5
# File 'app/api/io/endpoints/uuids/search.rb', line 3

def self.model_for_input
  ::Uuids::Search
end