Class: SendGrid4r::REST::MarketingCampaigns::Sender

Inherits:
Struct
  • Object
show all
Defined in:
lib/sendgrid4r/rest/marketing_campaigns/senders.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#addressObject

Returns the value of attribute address

Returns:

  • (Object)

    the current value of address



10
11
12
# File 'lib/sendgrid4r/rest/marketing_campaigns/senders.rb', line 10

def address
  @address
end

#address_2Object

Returns the value of attribute address_2

Returns:

  • (Object)

    the current value of address_2



10
11
12
# File 'lib/sendgrid4r/rest/marketing_campaigns/senders.rb', line 10

def address_2
  @address_2
end

#cityObject

Returns the value of attribute city

Returns:

  • (Object)

    the current value of city



10
11
12
# File 'lib/sendgrid4r/rest/marketing_campaigns/senders.rb', line 10

def city
  @city
end

#countryObject

Returns the value of attribute country

Returns:

  • (Object)

    the current value of country



10
11
12
# File 'lib/sendgrid4r/rest/marketing_campaigns/senders.rb', line 10

def country
  @country
end

#created_atObject

Returns the value of attribute created_at

Returns:

  • (Object)

    the current value of created_at



10
11
12
# File 'lib/sendgrid4r/rest/marketing_campaigns/senders.rb', line 10

def created_at
  @created_at
end

#fromObject

Returns the value of attribute from

Returns:

  • (Object)

    the current value of from



10
11
12
# File 'lib/sendgrid4r/rest/marketing_campaigns/senders.rb', line 10

def from
  @from
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



10
11
12
# File 'lib/sendgrid4r/rest/marketing_campaigns/senders.rb', line 10

def id
  @id
end

#lockedObject

Returns the value of attribute locked

Returns:

  • (Object)

    the current value of locked



10
11
12
# File 'lib/sendgrid4r/rest/marketing_campaigns/senders.rb', line 10

def locked
  @locked
end

#nicknameObject

Returns the value of attribute nickname

Returns:

  • (Object)

    the current value of nickname



10
11
12
# File 'lib/sendgrid4r/rest/marketing_campaigns/senders.rb', line 10

def nickname
  @nickname
end

#reply_toObject

Returns the value of attribute reply_to

Returns:

  • (Object)

    the current value of reply_to



10
11
12
# File 'lib/sendgrid4r/rest/marketing_campaigns/senders.rb', line 10

def reply_to
  @reply_to
end

#stateObject

Returns the value of attribute state

Returns:

  • (Object)

    the current value of state



10
11
12
# File 'lib/sendgrid4r/rest/marketing_campaigns/senders.rb', line 10

def state
  @state
end

#updated_atObject

Returns the value of attribute updated_at

Returns:

  • (Object)

    the current value of updated_at



10
11
12
# File 'lib/sendgrid4r/rest/marketing_campaigns/senders.rb', line 10

def updated_at
  @updated_at
end

#verifiedObject

Returns the value of attribute verified

Returns:

  • (Object)

    the current value of verified



10
11
12
# File 'lib/sendgrid4r/rest/marketing_campaigns/senders.rb', line 10

def verified
  @verified
end

#zipObject

Returns the value of attribute zip

Returns:

  • (Object)

    the current value of zip



10
11
12
# File 'lib/sendgrid4r/rest/marketing_campaigns/senders.rb', line 10

def zip
  @zip
end

Instance Method Details

#to_hObject



22
23
24
# File 'lib/sendgrid4r/rest/marketing_campaigns/senders.rb', line 22

def to_h
  super.reject { |_key, value| value.nil? }
end