Sha256: e4b9be4dbd2c3fa04935481dc8163c54871494649894617d575ccc087b3a6a05
Contents?: true
Size: 682 Bytes
Versions: 2
Compression:
Stored size: 682 Bytes
Contents
module GoogleCells class Cell < GoogleCells::GoogleObject include Util @permanent_attributes = [:title, :id, :value, :numeric_value, :row, :col, :edit_url, :worksheet] define_accessors attr_reader :input_value def input_value=(v) @input_value = v worksheet.track_changes(self) v end def to_xml <<-EOS <entry> <batch:id>#{e(row)},#{e(col)}</batch:id> <batch:operation type="update"/> <id>#{e(id)}</id> <link rel="edit" type="application/atom+xml" href="#{e(edit_url)}"/> <gs:cell row="#{e(row)}" col="#{e(col)}" inputValue="#{e(input_value)}"/> </entry> EOS end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
google-cells-0.4.0 | lib/google_cells/cell.rb |
google-cells-0.3.0 | lib/google_cells/cell.rb |