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

Returns:

  • (Object)

    the current value of download



306
307
308
# File 'lib/dpl/providers/bintray.rb', line 306

def download
  @download
end

#paramsObject

Returns the value of attribute params

Returns:

  • (Object)

    the current value of params



306
307
308
# File 'lib/dpl/providers/bintray.rb', line 306

def params
  @params
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



306
307
308
# File 'lib/dpl/providers/bintray.rb', line 306

def source
  @source
end

#targetObject

Returns the value of attribute target

Returns:

  • (Object)

    the current value of target



306
307
308
# File 'lib/dpl/providers/bintray.rb', line 306

def target
  @target
end

Instance Method Details

#eql?(other) ⇒ Boolean

Returns:

  • (Boolean)


311
312
313
# File 'lib/dpl/providers/bintray.rb', line 311

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

#readObject



307
308
309
# File 'lib/dpl/providers/bintray.rb', line 307

def read
  IO.read(source)
end