class Dice::Result

Attributes

company[RW]
date[RW]
location[RW]
title[RW]
url[RW]

Public Class Methods

new(attrs = {}) click to toggle source
# File lib/dice/result.rb, line 5
def initialize(attrs = {})
        self.url = attrs[:data]['detailUrl']
        self.title = attrs[:data]['jobTitle']
        self.company = attrs[:data]['company']
        self.location = attrs[:data]['location']
        self.date = attrs[:data]['date']
end