Sha256: e5ba304d1803466b69cdb231a3eb80bd15c9e80f21c81bd71786edf9950554f6

Contents?: true

Size: 519 Bytes

Versions: 1

Compression:

Stored size: 519 Bytes

Contents

#!/usr/bin/env ruby
require 'httparty'

gem 'httparty', '~> 0.5.2'
require 'httparty'

module HDCloud
  class HDCloudError < StandardError
    attr_reader :data

    def initialize(data)
      @data = data
      super
    end
  end

  class Unauthorized      < HDCloudError; end
  class General           < HDCloudError; end

  class Unavailable   < StandardError; end
  class NotFound      < StandardError; end
end

directory = File.expand_path(File.dirname(__FILE__))

require File.join(directory, 'hdcloud', 'base')

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hdcloud-0.1.0 lib/hdcloud.rb