I hereby claim:
- I am chaudhary27 on github.
- I am chaudhary27 (https://keybase.io/chaudhary27) on keybase.
- I have a public key whose fingerprint is F2E7 B897 FE67 A39F 9CE1 5134 5EC0 79FC 1A4A B279
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
require "google/api_client" | |
require "google_drive" | |
# Creates a session. This will prompt the credential via command line for the | |
# first time and save it to config.json file for later usages. | |
session = GoogleDrive.saved_session("config.json") | |
# Gets list of remote files. | |
session.files.each do |file| | |
p file.title |
class Dog | |
attr_accessor :name, :kind | |
def initialize(name, kind) | |
@name = name | |
@kind = kind | |
end | |
def output_details | |
puts "This dog\'s name is #{@name} and its kind is #{@kind}" |
require 'minitest/autorun' | |
class Image | |
def initialize(pixels) | |
@pixels = pixels | |
end | |
def output_image | |
@pixels.each do |i| |