Sha256: f1847e4e9b2564fc9b05e2468c0138de2d41f82418d7defc84e53d0955c1ef23

Contents?: true

Size: 272 Bytes

Versions: 1

Compression:

Stored size: 272 Bytes

Contents

require 'wp/api/version'
require 'wp/api/resource'
Dir['lib/wp/api/resources/*.rb'].each {|resource| require resource }
require 'wp/api/client'

require 'httparty'
require 'yajl'

module WP
  module API
    def self.[](host)
      Client.new(host: host)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wp-api-0.0.2 lib/wp/api.rb