Class: Zerobounce::GetFileOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/zerobounce/get_file_options.rb

Overview

Optional query parameters for bulk getfile. activity_data applies to validation validate_file_get only; scoring getfile does not send it.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(download_type: nil, activity_data: nil) ⇒ GetFileOptions

Returns a new instance of GetFileOptions.



9
10
11
12
# File 'lib/zerobounce/get_file_options.rb', line 9

def initialize(download_type: nil, activity_data: nil)
  @download_type = download_type
  @activity_data = activity_data
end

Instance Attribute Details

#activity_dataObject

Returns the value of attribute activity_data.



7
8
9
# File 'lib/zerobounce/get_file_options.rb', line 7

def activity_data
  @activity_data
end

#download_typeObject

Returns the value of attribute download_type.



7
8
9
# File 'lib/zerobounce/get_file_options.rb', line 7

def download_type
  @download_type
end