class MasterLeague::PatchRepository
Public Instance Methods
order(order)
click to toggle source
# File lib/master_league/patch_repository.rb, line 5 def order(order) raise 'The Patches endpoint does not allow ordering' end
Private Instance Methods
instantiate_record(patch_json)
click to toggle source
# File lib/master_league/patch_repository.rb, line 15 def instantiate_record(patch_json) Patch.new(patch_json) end
instantiate_records(patches_json)
click to toggle source
# File lib/master_league/patch_repository.rb, line 11 def instantiate_records(patches_json) patches_json.map { |patch_json| instantiate_record(patch_json) } end