Sha256: 6ebf169726a60560e1154001b5351be47ca2f0d1f2b7bb1041ffd052a7a07605
Contents?: true
Size: 1.04 KB
Versions: 3
Compression:
Stored size: 1.04 KB
Contents
module OldBill module V2 module Neighbourhoods class Locator < Hashie::Dash # == Propertys property :force #Unique force identifier property :neighbourhood #Force specific team identifier property :session # @return [Arrray<OldBill::V2::CrimeByMonth>] def crimes_by_month @crimes_by_month ||= session.crimes_by_month(self.force, self.neighbourhood) end # @return [O]ldBill::V2::Neighbourhood] def full_neighbourhood @full_neighbourhood ||= session.neighbourhood(self.force, self.neighbourhood) end # @return [Arrray<OldBill::V2::Neighbourhoods::Events>] def events @events ||= session.events(self.force, self.neighbourhood) end # @return [Arrray<OldBill::V2::Neighbourhoods::PoliceOfficers>] def police_officers @police_officers ||= session.police_officers(self.force, self.neighbourhood) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
oldbill-0.0.3 | lib/oldbill/v2/neighbourhoods/locator.rb |
oldbill-0.0.2 | lib/oldbill/v2/neighbourhoods/locator.rb |
oldbill-0.0.1 | lib/oldbill/v2/neighbourhoods/locator.rb |