Sha256: 8b282439a4b0f09d16f12c1dc47364fdae6b8e04744f61df0eb83339ea28dcd6

Contents?: true

Size: 205 Bytes

Versions: 3

Compression:

Stored size: 205 Bytes

Contents

module NationBuilder
  module Actions
    module Show
      def show(person_id)
        JSON.parse(client.get("#{base_path}/#{CGI.escape(person_id.to_s)}").response.env[:body])
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nation_builder-0.0.17 lib/nation_builder/actions/show.rb
nation_builder-0.0.16 lib/nation_builder/actions/show.rb
nation_builder-0.0.15 lib/nation_builder/actions/show.rb