Sha256: f8b7d378bdef2f9489fb84446fc8a8410ff3fb8340812c728dcfccf0afcc7946

Contents?: true

Size: 235 Bytes

Versions: 1

Compression:

Stored size: 235 Bytes

Contents

module NationBuilder
  class People
    attr_accessor :client
    
    def initialize(client)
      self.client = client
    end
    
    def list()
      JSON.parse(client.get('/api/v1/people').response.env[:body])
    end
  end  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nation_builder-0.0.1 lib/nation_builder/people.rb