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



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

def download
  @download
end

#paramsObject

Returns the value of attribute params

Returns:

  • (Object)

    the current value of params



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

def params
  @params
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



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

def source
  @source
end

#targetObject

Returns the value of attribute target

Returns:

  • (Object)

    the current value of target



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

def target
  @target
end

Instance Method Details

#eql?(other) ⇒ Boolean

Returns:

  • (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