Module: Sheety
- Defined in:
- lib/sheety.rb,
lib/sheety.rb,
lib/sheety/api.rb
Defined Under Namespace
Modules: Children
Classes: Api, Cell, Feed, Row, SheetyError, SheetyFetchError, Spreadsheet, Worksheet
Constant Summary
collapse
- NEWLINE =
"\n"
Class Method Summary
collapse
Class Method Details
.auth ⇒ Object
18
19
20
|
# File 'lib/sheety.rb', line 18
def self.auth
return Api.inst.auth
end
|
.find_sheet(constraints) ⇒ Object
30
31
32
|
# File 'lib/sheety.rb', line 30
def self.find_sheet(constraints)
return Api.inst.find_sheet(constraints)
end
|
.length_s(val) ⇒ Object
4
5
6
|
# File 'lib/sheety.rb', line 4
def self.length_s(val)
if val.respond_to?(:length) then val.length.to_s else "??" end
end
|
.list_sheets ⇒ Object
42
43
44
45
46
47
48
|
# File 'lib/sheety.rb', line 42
def self.list_sheets
sheets.each_with_index do |sheet, index|
puts "Sheet #{index} - #{sheet}"
end
return nil
end
|
.sheets(force_refetch = false) ⇒ Object
22
23
24
|
# File 'lib/sheety.rb', line 22
def self.sheets(force_refetch=false)
return Api.inst.sheets(force_refetch)
end
|
.sheets_except(constraints) ⇒ Object
34
35
36
|
# File 'lib/sheety.rb', line 34
def self.sheets_except(constraints)
return Api.inst.sheets_except(constraints)
end
|
.sheets_except_any(constraints) ⇒ Object
38
39
40
|
# File 'lib/sheety.rb', line 38
def self.sheets_except_any(constraints)
return Api.inst.sheets_except_any(constraints)
end
|
.sheets_where(constraints) ⇒ Object
26
27
28
|
# File 'lib/sheety.rb', line 26
def self.sheets_where(constraints)
return Api.inst.sheets_where(constraints)
end
|