Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new full_address_as_hash method which return the required address… #1965

Merged

Conversation

AmrAdelKhalil
Copy link
Contributor

… information as a hash

Issue# 1958
resolves #1958

Description:

Now with this PR merged, We can get the address information separated as a hash object, All you have to do is to give it the keys as symbols and if one of them accepts parameters you can specify them as keyname: value_hash

lib/faker/default/address.rb Outdated Show resolved Hide resolved
lib/faker/default/address.rb Show resolved Hide resolved
@Zeragamba Zeragamba self-assigned this May 18, 2020
@Zeragamba Zeragamba removed their assignment May 28, 2020
@Zeragamba Zeragamba merged commit 7a67bb4 into faker-ruby:master Jun 10, 2020
@Zeragamba
Copy link
Contributor

Thanks!

@AmrAdelKhalil
Copy link
Contributor Author

Thanks!

You are welcome🤙😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Need an address "object" that has a street, city, zip that correlate
3 participants