Sha256: 83b2e4735e775f055b47c22bc375719e7b2e6e3ed301075c5141b8e0d568e621

Contents?: true

Size: 359 Bytes

Versions: 1

Compression:

Stored size: 359 Bytes

Contents

module Horseman
  class Element
    attr_accessor :id, :name
  end
  class Form < Element
  end
  class FormField < Element
    attr_accessor :type, :value
  end
  
  class Response
    attr_reader :body, :forms
    
    def initialize(body)
      @body = body
      @forms = []
      parse
    end
    
    private
    
    def parse
      
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
horseman-0.0.1 lib/horseman/response.rb