Class: MasterLeague::HeroRepository

Inherits:
Repository show all
Defined in:
lib/master_league/hero_repository.rb

Instance Attribute Summary

Attributes inherited from Repository

#limit_value, #order_value, #page_value

Instance Method Summary collapse

Methods inherited from Repository

#all, #each, #find, #inspect, #last, #limit, #page, #where

Instance Method Details

#order(order) ⇒ Object



5
6
7
# File 'lib/master_league/hero_repository.rb', line 5

def order(order)
  raise 'The Heroes endpoint does not allow ordering'
end