Class: Mooset::Endpoints::Null

Inherits:
Endpoint
  • Object
show all
Defined in:
lib/mooset/endpoints/null.rb

Instance Attribute Summary

Attributes inherited from Endpoint

#endpoint_name

Instance Method Summary collapse

Methods inherited from Endpoint

create, descendants, inherited, #initialize, underscore

Constructor Details

This class inherits a constructor from Mooset::Endpoints::Endpoint

Instance Method Details

#groups(query) ⇒ Object



8
9
10
# File 'lib/mooset/endpoints/null.rb', line 8

def groups(query)
  []
end

#users(query) ⇒ Object



4
5
6
# File 'lib/mooset/endpoints/null.rb', line 4

def users(query)
  [OpenStruct.new]
end