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


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

def initialize(search)
  @search = search
end

Class Method Details

.json_field_for(attribute) ⇒ Object


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

def self.json_field_for(attribute)
  attribute
end

.model_for_inputObject


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

def self.model_for_input
  ::Uuids::Search
end