Class: Project

Inherits:
Object
  • Object
show all
Defined in:
lib/google_refine_api.rb

Instance Method Summary collapse

Constructor Details

#initialize(refine, id) ⇒ Project

Returns a new instance of Project.


5
6
7
8
# File 'lib/google_refine_api.rb', line 5

def initialize(refine, id)
  @refine = refine
  @id = id
end

Instance Method Details

#to_sObject


10
11
12
# File 'lib/google_refine_api.rb', line 10

def to_s 
  "#{@refine.uri}/project?project=#{@id}"
end