Class: Dpl::Providers::Bintray::Upload

Inherits:
Struct
  • Object
show all
Defined in:
lib/dpl/providers/bintray.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#downloadObject

Returns the value of attribute download



313
314
315
# File 'lib/dpl/providers/bintray.rb', line 313

def download
  @download
end

#paramsObject

Returns the value of attribute params



313
314
315
# File 'lib/dpl/providers/bintray.rb', line 313

def params
  @params
end

#sourceObject

Returns the value of attribute source



313
314
315
# File 'lib/dpl/providers/bintray.rb', line 313

def source
  @source
end

#targetObject

Returns the value of attribute target



313
314
315
# File 'lib/dpl/providers/bintray.rb', line 313

def target
  @target
end

Instance Method Details

#eql?(other) ⇒ Boolean



318
319
320
# File 'lib/dpl/providers/bintray.rb', line 318

def eql?(other)
  source == other.source
end

#readObject



314
315
316
# File 'lib/dpl/providers/bintray.rb', line 314

def read
  IO.read(source)
end