Sha256: b288ce5f45d163ffc91ec19de407a528cdc8b3da454bc175720c83a67b45b00c

Contents?: true

Size: 252 Bytes

Versions: 2

Compression:

Stored size: 252 Bytes

Contents

module Twfy

  class Constituency < DataElement

    def geometry
      @geometry ||= @client.geometry(name: @name).with(constituency: self)
    end

    def mp
      @mp ||= @client.mp(constituency: @name).with(constituency: self)
    end

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
twfy-1.1.1 lib/twfy/constituency.rb
twfy-1.1.0 lib/twfy/constituency.rb