Sha256: 54a38706eb26495a2a71a630bf9374b81654e0e2a675f28908d42793a6e4e38e

Contents?: true

Size: 192 Bytes

Versions: 4

Compression:

Stored size: 192 Bytes

Contents

module PirschApi
  class DomainResource < BaseResource
    def request_url
      "domain"
    end

    def parse_response(body)
      JSON.parse(body).map{ |o| Domain.new o }
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pirsch_api-0.0.5 lib/pirsch_api/resources/domain.rb
pirsch_api-0.0.4 lib/pirsch_api/resources/domain.rb
pirsch_api-0.0.3 lib/pirsch_api/resources/domain.rb
pirsch_api-0.0.2 lib/pirsch_api/resources/domain.rb